From: Andrew Dunstan <andrew@dunslane.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Pavel Golub <pavel@gf.microolap.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
Date: Tue, 05 Jul 2011 11:34:36 -0400
Message-ID: <4E132F0C.8090606@dunslane.net> (raw)
In-Reply-To: <CA+TgmoZebb5-8cnoTdNnCz3=AsqrFkzTuoK2FZAEbe3+rnF42w@mail.gmail.com>
References: <6510382810.20110705175206@gf.microolap.com>
<1309878337-sup-685@alvh.no-ip.org>
<CA+TgmoZebb5-8cnoTdNnCz3=AsqrFkzTuoK2FZAEbe3+rnF42w@mail.gmail.com>
On 07/05/2011 11:23 AM, Robert Haas wrote:
>
> 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?
yes.
> (b) Should we back-patch it to 9.1 and 9.0?
yes.
> (c) Should we consider removing compatibility with the ancient copy
> syntax in 9.2, and de-reserving that keyword? (Given that the
> workaround is this simple, I'm inclined to say "no", but could be
> persuaded otherwise.)
>
I'm inclined to say yes, but mainly because it's just old cruft. I don't
expect to be able,say, to load a pre-7.3 dump into a modern Postgres.
cheers
andrew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andrew@dunslane.net, robertmhaas@gmail.com, alvherre@commandprompt.com, pavel@gf.microolap.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
In-Reply-To: <4E132F0C.8090606@dunslane.net>
References: <6510382810.20110705175206@gf.microolap.com> <1309878337-sup-685@alvh.no-ip.org> <CA+TgmoZebb5-8cnoTdNnCz3=AsqrFkzTuoK2FZAEbe3+rnF42w@mail.gmail.com> <4E132F0C.8090606@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox