Fix concat() and format() to handle VARIADIC-labeled arguments correctly.
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +19 −5 |
| doc/src/sgml/xfunc.sgml | modified | +10 −1 |
| src/backend/utils/adt/varlena.c | modified | +171 −27 |
| src/test/regress/expected/text.out | modified | +88 −1 |
| src/test/regress/sql/text.sql | modified | +22 −1 |