Re: psql's \copy incompatible with :variables - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: psql's \copy incompatible with :variables
Date
Msg-id 201110141854.p9EIsf524389@momjian.us
Whole thread Raw
In response to Re: psql's \copy incompatible with :variables  (Josh Berkus <josh@agliodbs.com>)
List pgsql-bugs
Josh Berkus wrote:
>
> > \copy is different because it uses OT_WHOLE_LINE mode to read the
> > argument, and that doesn't expand :variable references.  I'd be a bit
> > leery of changing that.
>
> So, doc warning then?

I don't think enough people have hit this problem to warrant that.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

pgsql-bugs by date:

Previous
From: Josh Berkus
Date:
Subject: Re: psql's \copy incompatible with :variables
Next
From: "stephen"
Date:
Subject: BUG #6255: Unable to Install (Binary, One Click Installer