Re: Proposal for Signal Detection Refactoring - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Proposal for Signal Detection Refactoring
Date
Msg-id 61015a1b-b959-4f65-0255-ded8b53c13ac@2ndquadrant.com
Whole thread Raw
In response to Re: Proposal for Signal Detection Refactoring  (Andres Freund <andres@anarazel.de>)
Responses Re: Proposal for Signal Detection Refactoring  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Jesper Pedersen
Date:
Subject: Re: Index Skip Scan
Next
From: Dmitry Dolgov
Date:
Subject: Re: Index Skip Scan