Re: parser error: 9223372036854775807

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: parser error: 9223372036854775807
Дата
Msg-id 22721.1036688280@sss.pgh.pa.us
обсуждение исходный текст
Ответ на parser error: 9223372036854775807  ("Aurangzeb M. Agha" <aagha@bigfoot.com>)
Список pgsql-general
"Aurangzeb M. Agha" <aagha@bigfoot.com> writes:
> I'm having an issue moving my DB from from Win (Cygwin) to Linux 7.2.  If
> I go from Linux to Cygwin, no probs, everything works fine, creates a new
> database beautifully.
> However, if I take the exact same DB (which contains data) and try the
> following on Linux:
>     %> psql -d cmsdb -f cmsdb.sql
> I get the following:
> psql:cmsdb.sql:12: ERROR:  parser: parse error at or near
> "9223372036854775807"

> Any table with a serial decleration has this problem, and the serial
> tables don't get built.

> We're on Postgres 7.1.

Apparently the Cygwin database is 7.2, which was the first release that
supported int8 sequences.  Either update your Linux PG installation, or
be prepared to do some hand editing of the dump file.

            regards, tom lane

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: comamnds
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: table drops