On 25/09/2018 02:23, Andres Freund wrote:
>> My point was just to reduce the number of variables used and ease
>> debugger lookups with what is on the stack.
> I'm not sure a bitflag really gives you that - before gdb gives you the
> plain value, afterwards you need to know the enum values and do bit math
> to know.

You could use an actual C bit field, to make debugging easier.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Reply via email to