pgsql: Fix concat_ws() to not insert a separator after leading NULL arg - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix concat_ws() to not insert a separator after leading NULL arg
Date
Msg-id E1Qy7P5-0000dH-PC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix concat_ws() to not insert a separator after leading NULL argument(s).

Per bug #6181 from Itagaki Takahiro.  Also do some marginal code cleanup
and improve error handling.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a5b7640ba0efd670e6f513bf6b5589504a5d5475

Modified Files
--------------
src/backend/utils/adt/varlena.c |   34 +++++++++++++++++++++++-----------
1 files changed, 23 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix concat_ws() to not insert a separator after leading NULL arg
Next
From: Tom Lane
Date:
Subject: pgsql: Replace obsolete AC_LANG_FUNC_LINK_TRY autoconf macro.