On Mon, Aug 3, 2015 at 10:00 AM, Alvaro Herrera <alvhe...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers