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

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

Commit: 06464ef972612c96f7e00dbc33325b97f7c39551
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-04-15T21:05:23Z
Releases: 8.2.17
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