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:
d8c61c9 Add debugging aid "bmsToString(Bitmapset *bms)".
src/backend/nodes/outfuncs.c | 61 +++++++++++++++++++++---------------------
src/include/nodes/nodes.h | 5 ++--
2 files changed, 34 insertions(+), 32 deletions(-)
Upstream: git.postgresql.org