postgresql/src/backend
Tom Lane 75b39e7909 Add infrastructure for storing a VARIADIC ANY function's VARIADIC flag.
Originally we didn't bother to mark FuncExprs with any indication whether
VARIADIC had been given in the source text, because there didn't seem to be
any need for it at runtime.  However, because we cannot fold a VARIADIC ANY
function's arguments into an array (since they're not necessarily all the
same type), we do actually need that information at runtime if VARIADIC ANY
functions are to respond unsurprisingly to use of the VARIADIC keyword.
Add the missing field, and also fix ruleutils.c so that VARIADIC ANY
function calls are dumped properly.

Extracted from a larger patch that also fixes concat() and format() (the
only two extant VARIADIC ANY functions) to behave properly when VARIADIC is
specified.  This portion seems appropriate to review and commit separately.

Pavel Stehule
2013-01-21 20:26:15 -05:00
..
access Fix off-by-one bug in xlog reading logic 2013-01-18 11:19:53 -03:00
bootstrap Improve handling of ereport(ERROR) and elog(ERROR). 2013-01-13 18:40:09 -05:00
catalog Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
commands Add ddl_command_end support for event triggers. 2013-01-21 18:00:24 -05:00
executor Fix obsolete SQL syntax in comment. 2013-01-14 15:48:12 -05:00
foreign Update copyrights for 2013 2013-01-01 17:15:01 -05:00
lib Update copyrights for 2013 2013-01-01 17:15:01 -05:00
libpq Update copyrights for 2013 2013-01-01 17:15:01 -05:00
main Update copyrights for 2013 2013-01-01 17:15:01 -05:00
nodes Add infrastructure for storing a VARIADIC ANY function's VARIADIC flag. 2013-01-21 20:26:15 -05:00
optimizer Add infrastructure for storing a VARIADIC ANY function's VARIADIC flag. 2013-01-21 20:26:15 -05:00
parser Add infrastructure for storing a VARIADIC ANY function's VARIADIC flag. 2013-01-21 20:26:15 -05:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Update copyrights for 2013 2013-01-01 17:15:01 -05:00
postmaster Make sure MaxBackends is always set 2013-01-02 14:39:11 -03:00
regex Update copyrights for 2013 2013-01-01 17:15:01 -05:00
replication Now that START_REPLICATION returns the next timeline's ID after reaching end 2013-01-18 11:59:34 +02:00
rewrite Update copyrights for 2013 2013-01-01 17:15:01 -05:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Unbreak lock conflict detection for Hot Standby. 2013-01-18 11:52:28 -05:00
tcop Add ddl_command_end support for event triggers. 2013-01-21 18:00:24 -05:00
tsearch Update copyrights for 2013 2013-01-01 17:15:01 -05:00
utils Add infrastructure for storing a VARIADIC ANY function's VARIADIC flag. 2013-01-21 20:26:15 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
Makefile Update copyrights for 2013 2013-01-01 17:15:01 -05:00
nls.mk Split out XLog reading as an independent facility 2013-01-16 16:12:53 -03:00