pgsql: Fix concat() and format() to handle VARIADIC-labeled arguments c
pgsql: Fix concat() and format() to handle VARIADIC-labeled arguments c
От:
Tom 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(-)