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

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

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