Re: BUG #4901: Column name "window" breaks pg_dump/pg_restore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4901: Column name "window" breaks pg_dump/pg_restore
Дата
Msg-id 9776.1246809305@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4901: Column name "window" breaks pg_dump/pg_restore  ("Steve Purcell" <steve@sanityinc.com>)
Ответы Re: BUG #4901: Column name "window" breaks pg_dump/pg_restore  (Steve Purcell <steve@sanityinc.com>)
Список pgsql-bugs
"Steve Purcell" <steve@sanityinc.com> writes:
> The DB schema for openx (openx.org) contains a table with a column called
> "window", which now causes a syntax error if unquoted.  pg_dump doesn't
> quote the column, so pg_restore/psql fail on the pg_dump output.

This is one of the reasons why it's recommended that you use the later
version's pg_dump to perform a cross-version dump and restore.  8.4's
pg_dump knows that "window" is a reserved word, but 8.3's could hardly
be expected to.

            regards, tom lane

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

Предыдущее
От: "Steve Purcell"
Дата:
Сообщение: BUG #4901: Column name "window" breaks pg_dump/pg_restore
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Diffrent column ordering after dump/restore tables with INHERITS