Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
Date
Msg-id 3533.1309879804@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jul 5, 2011 at 11:06 AM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> I assume it's not in unreserved_keyword because it would cause a
>> shift/reduce conflict elsewhere.

> Yeah.  In particular, it conflicts with the ancient copy syntax which
> we still support for backwards compatibility with versions < 7.3.  We
> can fix the immediate problem with something like the attached.

> (a) Should we do that?

That seems like a horrid crock ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Range Types, constructors, and the type system
Next
From: Robert Haas
Date:
Subject: Re: Core Extensions relocation