Re: COPY syntax - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: COPY syntax
Date
Msg-id Pine.LNX.4.44.0210171845470.928-100000@localhost.localdomain
Whole thread Raw
In response to Re: COPY syntax  (Lee Kindness <lkindness@csl.co.uk>)
Responses Re: COPY syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Lee Kindness writes:

> Are you serious? You'd like to mess up the COPY syntax even further
> for a purely grammatical reason!

We already "messed up" the COPY syntax in this release to achieve better
user friendliness.  I do not think it's unreasonable to review this goal
from a variety of angles.

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

Well, I am the first to agree that the current syntax is not well
designed, but I must admit that I don't quite see what benefit simply
adding "TABLE" would have.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: orderRules() now a bad idea?
Next
From: Peter Eisentraut
Date:
Subject: Re: PL/Perl and Perl 5.8