From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Pitt <mpitt@debian.org>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Cc: Andrew Dunstan <andrew@dunslane.net>
Subject: Re: 9.2beta1 regression: pg_restore --data-only does not set sequence values any more
Date: Wed, 16 May 2012 09:08:26 -0400
Message-ID: <23209.1337173706@sss.pgh.pa.us> (raw)
In-Reply-To: <20120515122500.GD3041@piware.de>
References: <20120515122500.GD3041@piware.de>
Martin Pitt <mpitt@debian.org> writes:
> while packaging 9.2 beta 1 for Debian/Ubuntu the postgresql-common
> test suite noticed a regression: It seems that pg_restore --data-only
> now skips the current value of sequences, so that in the upgraded
> database the sequence counter is back to the default.
I believe this is a consequence of commit
a4cd6abcc901c1a8009c62a27f78696717bb8fe1, which introduced the entirely
false assumption that --schema-only and --data-only have something to
do with the order that entries appear in the archive ...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mpitt@debian.org, andrew@dunslane.net
Subject: Re: 9.2beta1 regression: pg_restore --data-only does not set sequence values any more
In-Reply-To: <23209.1337173706@sss.pgh.pa.us>
References: <20120515122500.GD3041@piware.de> <23209.1337173706@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox