From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruno Wolff III <bruno(at)wolff(dot)to>, Antti Haapala <antti(dot)haapala(at)iki(dot)fi>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Hannu Krosing <hannu(at)tm(dot)ee>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: \copy needs work (was Re: Changing Column Order) |
Date: | 2002-10-14 03:45:36 |
Message-ID: | 200210140345.g9E3ja103663@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-jdbc |
Tom Lane wrote:
> Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> > On Sat, Oct 12, 2002 at 12:43:37 +0300,
> > Antti Haapala <antti(dot)haapala(at)iki(dot)fi> wrote:
> >> What about copy? AFAIK, copy doesn't allow column names being specified,
> >> so it's not purely aesthetic...
>
> > The SQL COPY command does (at least in 7.3). The \copy psql command
> > doesn't seem to allow this though.
>
> That's an oversight; \copy should have been fixed for 7.3.
>
> Do we want to look at this as a bug (okay to fix for 7.3) or a new
> feature (wait for 7.4)?
>
> I see something that I think is a must-fix omission in the same code:
> it should allow a schema-qualified table name. So I'm inclined to fix
> both problems now.
I don't think we can say \copy missing columns is a bug; we never had
it in previous release. Seems like a missing feature. The COPY schema
names seems valid.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-10-14 03:53:20 | Re: \copy needs work (was Re: Changing Column Order) |
Previous Message | Brett | 2002-10-13 20:26:08 | Sizing and striping log area |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-10-14 03:46:10 | Re: \copy and identifier quoting |
Previous Message | Bruce Momjian | 2002-10-14 03:44:33 | Re: 7.3b2 ?bug? bitfromint4 is not working |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-10-14 03:53:20 | Re: \copy needs work (was Re: Changing Column Order) |
Previous Message | Jean-Christian Imbeault | 2002-10-14 02:54:55 | test |