]> granicus.if.org Git - postgresql/commit
Fix psql's \copy to not insert spaces around dots and commas in the text of
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Apr 2010 21:05:11 +0000 (21:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Apr 2010 21:05:11 +0000 (21:05 +0000)
commit9df6127bcfac4dce26124d24a98710bef9752fb5
tree7295190640f27f9e1b467a984b48d73ea642861c
parentb6953bc1897cff77d423d9d4d76af3a43df975f9
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).
src/bin/psql/copy.c