]> granicus.if.org Git - postgresql/commit
Fix concat_ws() to not insert a separator after leading NULL argument(s).
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2011 19:20:57 +0000 (15:20 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2011 19:21:15 +0000 (15:21 -0400)
commit579577320ef449442f804043a67ce5c13d679679
tree497648c8f95af9ce3e8ae28a565af3a90c6ef4ac
parent4fa37702a041a90355f693e10cad0751ef700658
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.
src/backend/utils/adt/varlena.c