From: Bruce Momjian <bruce@momjian.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: psql's \copy incompatible with :variables
Date: Fri, 14 Oct 2011 14:54:41 -0400 (EDT)
Message-ID: <201110141854.p9EIsf524389@momjian.us> (raw)
In-Reply-To: <4E986E38.2030505@agliodbs.com>
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. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, josh@agliodbs.com, tgl@sss.pgh.pa.us
Subject: Re: psql's \copy incompatible with :variables
In-Reply-To: <201110141854.p9EIsf524389@momjian.us>
References: <4E986E38.2030505@agliodbs.com> <201110141854.p9EIsf524389@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox