Re: COPY commands could use an enhancement.

Alfred Perlstein <bright@wintelcom.net>

From: Alfred Perlstein <bright@wintelcom.net>
To: Joel Burton <jburton@scw.org>
Cc: pgsql-hackers@postgresql.org
Date: 2001-04-30T13:29:23Z
Lists: pgsql-hackers
* Joel Burton <jburton@scw.org> [010430 06:26] wrote:
> On Mon, 30 Apr 2001, Alfred Perlstein wrote:
> 
> > Basically:
> > COPY "webmaster" FROM stdin;
> > 
> > could become:
> > COPY "webmaster" FIELDS "id", "name", "ssn" FROM stdin;
> 
> We'd need some way of making field name dumping optional, because
> one of the nice things about not having the field names appear is that
> I can dump, change the field names, and re-slurp in the old dump.

Of course!

I meant this as an additional option, not as a replacement.

-- 
-Alfred Perlstein - [alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/