Skip site navigation (1) Skip section navigation (2)

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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix psql's \copy to not insert spaces around dots and commas in
Date: 2010-04-15 21:05:17
Message-ID: 20100415210517.A1D887541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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_3_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        copy.c (r1.77.2.1 -> r1.77.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/copy.c?r1=1.77.2.1&r2=1.77.2.2)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-04-15 21:05:23
Subject: pgsql: Fix psql's \copy to not insert spaces around dots and commas in
Previous:From: Tom LaneDate: 2010-04-15 21:05:11
Subject: pgsql: Fix psql's \copy to not insert spaces around dots and commas in

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group