Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
Дата
Msg-id 4E132F0C.8090606@dunslane.net
обсуждение исходный текст
Ответ на Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Core Extensions relocation
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"