Re: psql's \copy incompatible with :variables

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql's \copy incompatible with :variables
Date: 2011-10-14 17:15:36
Message-ID: 4E986E38.2030505@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


> \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?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2011-10-14 18:54:41 Re: psql's \copy incompatible with :variables
Previous Message Daniel Cristian Cruz 2011-10-14 16:46:18 Re: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view