pgsql: Fix concat_ws() to not insert a separator after leading NULL arg
pgsql: Fix concat_ws() to not insert a separator after leading NULL arg
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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(-)