Re: pg_restore fails to restore sequences

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thom Brown <thom(at)linux(dot)com>
Cc: Spencer Gardner <spencergardner(at)gmail(dot)com>, PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore fails to restore sequences
Date: 2015-09-28 21:30:58
Message-ID: 29885.1443475858@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thom Brown <thom(at)linux(dot)com> writes:
> On 28 September 2015 at 22:21, Spencer Gardner <spencergardner(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2015-09-28 21:49:50 Re: pg_restore fails to restore sequences
Previous Message Thom Brown 2015-09-28 21:23:12 Re: pg_restore fails to restore sequences