Re: Variable-length FunctionCallInfoData

Andrew Gierth <andrew@tao11.riddles.org.uk>

From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2018-12-14T23:33:12Z
Lists: pgsql-hackers
>>>>> "Andres" == Andres Freund <andres@anarazel.de> writes:

 >> I think it'd probably good to add accessors for value/nullness in
 >> arguments that hide the difference between <v12 and v12, for the
 >> sake of extension authors. Would probably mostly make sense if we
 >> backpatched those for compatibility.

Speaking as an affected extension author: don't backpatch them.

The extension code has to cope with being compiled against a minor
release that doesn't have the backpatch, so the extension author has to
do their own workaround anyway. Having additional conditions based on
the minor release is just more pain.

-- 
Andrew (irc:RhodiumToad)


Commits

  1. Change function call information to be variable length.