pgsql: Add debugging aid "bmsToString(Bitmapset *bms)".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add debugging aid "bmsToString(Bitmapset *bms)".
Date: 2016-09-16 13:36:37
Message-ID: E1bktJl-00029R-57@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add debugging aid "bmsToString(Bitmapset *bms)".

This function has no direct callers at present, but it's convenient for
manual use in a debugger, rather than having to inspect memory and do
bit-counting in your head.

In passing, get rid of useless outBitmapset() wrapper around
_outBitmapset(); let's just export the function that does the work.
Likewise for outToken().

Ashutosh Bapat, tweaked a bit by me

Discussion: <CAFjFpRdiht8e1HTVirbubr4YzaON5iZTzFJjq909y4sU8M_6eA(at)mail(dot)gmail(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d8c61c9765339351409f06bbf964dcb8c1929e8b

Modified Files
--------------
src/backend/nodes/outfuncs.c | 61 ++++++++++++++++++++++----------------------
src/include/nodes/nodes.h | 5 ++--
2 files changed, 34 insertions(+), 32 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-09-18 11:11:16 pgsql: Fix ecpg -? option on Windows, add -V alias for --version.
Previous Message Robert Haas 2016-09-15 22:18:39 pgsql: Clarify policy on marking inherited constraints as valid.