Fix psql's \copy to not insert spaces around dots and commas in the text of

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9df6127bcfac4dce26124d24a98710bef9752fb5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-04-15T21:05:11Z
Releases: 8.4.4
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).

Files

PathChange+/−
src/bin/psql/copy.c modified +2 −2