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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d8c61c9765339351409f06bbf964dcb8c1929e8b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-09-16T13:36:24Z
Releases: 10.0
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@mail.gmail.com>

Files

PathChange+/−
src/backend/nodes/outfuncs.c modified +31 −30
src/include/nodes/nodes.h modified +3 −2