"Andrew Deryabin" <and...@deryabin.com> writes: > [pg...@localhost:site]=# COPY (SELECT 1) TO STDOUT \g filename.ext
The way you're supposed to do that is with \copy. It might be more consistent to do it as above, but I'm not sure anyone will take the time to make it happen ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs