Re: PG_DUMP / PG_RESTORE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG_DUMP / PG_RESTORE
Дата
Msg-id 26179.1085510731@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG_DUMP / PG_RESTORE  (Laurens Wagemakers <l.wagemakers@truston.com>)
Список pgsql-admin
Laurens Wagemakers <l.wagemakers@truston.com> writes:
> Running postgresql 7.1.3 on Solaris 9:
> Restoring a database from a RH 7.3 Postgresql 7.1 version

You generally aren't going to be able to restore a dump into an older
version without some manual labor.

> CREATE SEQUENCE "live_autoincrement" start 1 increment 1 maxvalue
> 92233720368547
> 75807 minvalue 1 cache 1;
> ERROR:  parser: parse error at or near "9223372036854775807"

In this particular case the issue is that 7.1 didn't have 64-bit
sequence values.  (No, I don't think your RH database is 7.1 ...)

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: pg_hba.conf
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_hba.conf