"Vitalii Tymchyshyn" <tivv00@gmail.com> writes:
> dict=> \copy (select 1.0) to test.tst
> ERROR: syntax error at or near "."
> LINE 1: COPY ( select 1 . 0 ) TO STDOUT
> ^
This case works as expected in CVS HEAD, apparently because of this fix:
http://archives.postgresql.org/pgsql-committers/2009-09/msg00184.php
I doubt we'd risk backpatching the whole change, but maybe it would
be sensible to backpatch just the changes in the COPY (SELECT) part
(lines 119-137 in HEAD). Not sure that it's worth taking any risk
for, though, given the lack of previous complaints.
regards, tom lane