pgsql: Fix concat_ws() to not insert a separator after leading NULL arg

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix concat_ws() to not insert a separator after leading NULL arg
Дата
Msg-id E1Qy7P5-0000dJ-OX@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/579577320ef449442f804043a67ce5c13d679679

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use a non-locking test in TAS_SPIN() on all IA64 platforms.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix concat_ws() to not insert a separator after leading NULL arg