]> granicus.if.org Git - postgresql/commit
Fix psql's \copy to not insert spaces around dots and commas in the text of
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Apr 2010 21:05:17 +0000 (21:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Apr 2010 21:05:17 +0000 (21:05 +0000)
commitfc4fac0598d6347ea72701ee0f794c1a9932c6f1
tree6d07d3ebb90d45275e921650e52250403672c98d
parent02915f614d122af191d381caa44d428738359424
Fix psql's \copy to not insert spaces around dots and commas in the text of
the SELECT query in \copy (SELECT ...) commands.  This is unnecessary and
breaks numeric literals, as seen in bug #5411 from Vitalii Tymchyshyn.

This change has already been made in passing in HEAD; backpatch to 8.2
through 8.4 (earlier releases don't have COPY (SELECT ...) at all).
src/bin/psql/copy.c