Re: nodes/*funcs.c inconsistencies - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: nodes/*funcs.c inconsistencies
Date
Msg-id CAM3SWZSh8i+Yi9d5=xz_Q++YHe8fVtBmMfXPCPhoOSTdinYcDA@mail.gmail.com
Whole thread Raw
In response to Re: nodes/*funcs.c inconsistencies  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Mon, Aug 3, 2015 at 10:00 AM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
>> Couldn't we adopt
>> AssertVariableIsOfType()/AssertVariableIsOfTypeMacro() to macros like
>> READ_UINT_FIELD()?
>>
>> I'm surprised that this stuff was only ever used for logical decoding
>> infrastructure so far.
>
> The reason it's only used there is that Andres is the one who introduced
> those macros precisely for that code.  We've not yet had time to adjust
> the rest of the code to have more sanity checks.

Any chance of picking this up, Andres?

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Bitmap index scans use of filters on available columns
Next
From: Tom Lane
Date:
Subject: Minor regexp bug