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:23 +0000 (21:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Apr 2010 21:05:23 +0000 (21:05 +0000)
commit06464ef972612c96f7e00dbc33325b97f7c39551
tree4c34feeb8da31b72e86f5b4b15b81240abd3f37c
parentb1954e95cb3799fc373b0f36aadf974d255d70b1
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