Summary: \copy interprets psql's :variables as literal strings
Tested On: 8.4.4, 9.0.4
Steps to Reproduce:
\set filename 'test.csv'
\copy pg_class to :filename with csv
Note that psql variables work perfectly fine with COPY. It's just \copy
which seems to be misbehaving.
PostgreSQL Experts Inc.
pgsql-bugs by date
|Next:||From: Robert Haas||Date: 2011-06-08 02:17:49|
|Subject: Re: BUG #6041: Unlogged table was created bad in slave node|
|Previous:||From: The Fuzzy Chef||Date: 2011-06-07 23:18:40|
|Subject: psql's \copy incompatible with :variables|