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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix concat() and format() to handle VARIADIC-labeled arguments c
Date: 2013-01-25 05:20:30
Message-ID: E1TybiI-000477-2C@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2013-01-25 08:49:10 pgsql: Make pg_dump exclude unlogged table data on hot standby slaves
Previous Message Bruce Momjian 2013-01-25 02:44:58 pgsql: doc: add mention of ssi read anomolies to mvcc docs