From: Andres Freund <andres@2ndquadrant.com>
To: launchpad@maletin.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8680: Fix initialization of pg_clog and pg_subtrans during hot standby startup
Date: Fri, 27 Dec 2013 10:49:30 +0100
Message-ID: <20131227094930.GB25163@alap2.anarazel.de> (raw)
In-Reply-To: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org>
References: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hi,
On 2013-12-13 10:50:12 +0000, launchpad@maletin.de wrote:
> A table has a primary key.
> We use pg_basebackup to start a
> streaming replication server.
> after a trigger, this standby is
> used as master and the primary key
> is shown as valid and there are no
> duplicates.
>
>
> alter table t add column c int4 not null default 0;
> FEHLER: konnte Unique Index »t_pkey« nicht erstellen
> DETAIL: Schlüssel (username, authority)=(malu001, ROLE_STEUER) ist doppelt
> vorhanden.
>
>
> It looks like a bug that is fixed in
> 9.2.6, but i can't believe, that this
> bug was introduced in 9.2.5, because we
> can reproduce this with 9.2.4.
> But only with massive work while the
> basebackup is in progress.
I don't think this is necessarily related. How are you performing the
base backup? I guess you're not using pg_basebackup?
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: andres@2ndquadrant.com, launchpad@maletin.de
Subject: Re: BUG #8680: Fix initialization of pg_clog and pg_subtrans during hot standby startup
In-Reply-To: <20131227094930.GB25163@alap2.anarazel.de>
References: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org> <20131227094930.GB25163@alap2.anarazel.de>
* 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