Peter Eisentraut <[EMAIL PROTECTED]> writes:
> 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.
I think the idea was that "COPY TABLE ..." could have a new clean syntax
without the
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.
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 phr
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". No
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > > According to the syntax diagram in the documenation, I can write
> > >
> > > COPY table TO STDOUT WITH BINARY OIDS;
> > >
> > > Shouldn't the "binary", being an adjective, be attached to something?
> >
> > Uh, it is attached to WITH?
>
> At
Bruce Momjian writes:
> > According to the syntax diagram in the documenation, I can write
> >
> > 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 "outpu
Peter Eisentraut wrote:
> According to the syntax diagram in the documenation, I can write
>
> COPY table TO STDOUT WITH BINARY OIDS;
>
> Shouldn't the "binary", being an adjective, be attached to something?
Uh, it is attached to WITH?
Seriously, yea, it doesn't read well, but it follows the W
According to the syntax diagram in the documenation, I can write
COPY table TO STDOUT WITH BINARY OIDS;
Shouldn't the "binary", being an adjective, be attached to something?
--
Peter Eisentraut [EMAIL PROTECTED]
---(end of broadcast)---
TIP 1
Bruce Momjian writes:
> I thought there were complaints that the old COPY syntax just had too
> many features stuffed in too many unusual places,
Haven't ever seen one. This command has no precedent in other products,
only years of going virtually unchanged in PostgreSQL. Changing it now
and a
Well, good points. I know there were some people who wanted a clearer
syntax, so I supplied it. Seems you don't. I would like to hear from
someone else who doesn't like the improved syntax before I consider
changing things back.
I am working on the TODO item:
o Change syntax to WITH DELIMITER, (keep old syntax around?)
and I have added syntax so COPY can now accept all parameters at the end
using WITH:
COPY table
FROM { 'filename' | stdin }
[ [ WITH ]
[ BINARY
11 matches
Mail list logo