pgsql: Fix concat() and format() to handle VARIADIC-labeled arguments c

Started by Tom Laneover 13 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Fix concat() and format() to handle VARIADIC-labeled arguments correctly.

Previously, the VARIADIC labeling was effectively ignored, but now these
functions act as though the array elements had all been given as separate
arguments.

Pavel Stehule

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/760f3c043ad4ee622b596d005ec31bb5e0322c4a

Modified Files
--------------
doc/src/sgml/func.sgml | 24 ++++-
doc/src/sgml/xfunc.sgml | 11 ++-
src/backend/utils/adt/varlena.c | 198 +++++++++++++++++++++++++++++++-----
src/test/regress/expected/text.out | 89 ++++++++++++++++-
src/test/regress/sql/text.sql | 23 ++++-
5 files changed, 310 insertions(+), 35 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers