pgsql: Fix psql's \copy to not insert spaces around dots and commas in - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix psql's \copy to not insert spaces around dots and commas in
Date
Msg-id 20100415210511.737B47541D0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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).

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        copy.c (r1.80.2.1 -> r1.80.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/copy.c?r1=1.80.2.1&r2=1.80.2.2)

pgsql-committers by date:

Previous
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Improve punctuation
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix psql's \copy to not insert spaces around dots and commas in