pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: launchpad@maletin.de
To: pgsql-bugs@postgresql.org
Subject: BUG #8680: Fix initialization of pg_clog and pg_subtrans during hot standby startup
Date: Fri, 13 Dec 2013 10:50:12 +0000
Message-ID: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      8680
Logged by:          Martin von Oertzen
Email address:      launchpad@maletin.de
PostgreSQL version: 9.2.4
Operating system:   ubuntu 12.04.3 LTS
Description:        

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.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org>
Permalink:  ../E1VrQJw-0006Ww-5h@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1VrQJw-0006Ww-5h@wrigleys.postgresql.org

 · 

reply

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: launchpad@maletin.de
  Subject: Re: BUG #8680: Fix initialization of pg_clog and pg_subtrans during hot standby startup
  In-Reply-To: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org>
  References: <E1VrQJw-0006Ww-5h@wrigleys.postgresql.org>

* 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