"Heikki Linnakangas" <[EMAIL PROTECTED]> writes: > Well, we could still have the MemSetTest outside the function, and > evaluated at compile-time, if we provided an aligned and unaligned > version of newNode:
Yeah, that should work fine, since we expect MemSetTest to reduce to a compile-time constant. I'll have a go at this later ... unless you want to do it? I suppose it could cause funny behavior due to the size being evaluated more than once, but the existing macro already does that when Asserts are on, so in practice I don't see an objection there. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers