Re: Variable-length FunctionCallInfoData - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Variable-length FunctionCallInfoData
Date
Msg-id 87sgyzy9dp.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Variable-length FunctionCallInfoData  (Andres Freund <andres@anarazel.de>)
Responses Re: Variable-length FunctionCallInfoData  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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)


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: valgrind issues on Fedora 28
Next
From: Michael Paquier
Date:
Subject: Re: Add timeline to partial WAL segments