Re: COPY syntax

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COPY syntax
Date: 2002-10-17 18:57:12
Message-ID: 200210171857.g9HIvCi24524@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lee Kindness wrote:
> Bruce Momjian writes:
> > Peter Eisentraut wrote:
> > > Bruce Momjian writes:
> > > > > COPY table TO STDOUT WITH BINARY OIDS;
> > > > > Shouldn't the "binary", being an adjective, be attached to something?
> > > > Uh, it is attached to WITH?
> > > Attached to a noun phrase, like "mode" or "output". Note that all the
> > > other things the typically follow WITH in any command are nouns.
> > Should we add an optional MODE after BINARY?
>
> Are you serious? You'd like to mess up the COPY syntax even further
> for a purely grammatical reason!
>
> A good few months ago I put formward an idea to change (well migrate
> really) to "COPY TABLE" rather than "COPY" - this would allow a well
> designed and thoughtout syntax for the new version while retaining old
> compatibility.

I don't like the added MODE either, but Peter doesn't seem to like
BINARY alone, though it seems fine to me.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-10-17 19:17:07 Re: orderRules() now a bad idea?
Previous Message Bruce Momjian 2002-10-17 18:55:34 Re: "COPY FROM" recognize \xDD sequence - addition to