Re: pg_restore fails to restore sequences

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore fails to restore sequences
Дата
Msg-id 29885.1443475858@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore fails to restore sequences  (Thom Brown <thom@linux.com>)
Ответы Re: pg_restore fails to restore sequences
Список pgsql-general
Thom Brown <thom@linux.com> writes:
> On 28 September 2015 at 22:21, Spencer Gardner <spencergardner@gmail.com> wrote:
>> Actually, yes. That's the reason for backing up. We had been playing with
>> BDR on a custom build but have reverted to the stock Ubuntu build for the
>> time being. So it sounds like the issue is caused by dumping from our custom
>> BDR build. It's not really a big issue - I've already rebuilt the affected
>> sequences.

> Have you tried dumping the database using the stock pg_dump
> executable?  The BDR branch isn't compatible with regular PostgreSQL,
> at least not yet.

Seems like it would be a good idea if BDR's pg_dump were to suppress
"USING local" clauses, and only output USING if it's not default, so as
not to create gratuitous incompatibilities like this one.

            regards, tom lane


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: pg_restore fails to restore sequences
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_restore fails to restore sequences