Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VrVGr-000153-As for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Dec 2013 16:07:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VrVGq-0001oj-LX for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Dec 2013 16:07:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQKA-0007iZ-F2 for pgsql-bugs@postgresql.org; Fri, 13 Dec 2013 10:50:26 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQK3-000122-7G for pgsql-bugs@postgresql.org; Fri, 13 Dec 2013 10:50:26 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQK1-0008Ax-Kl for pgsql-bugs@postgresql.org; Fri, 13 Dec 2013 10:50:18 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VrQJw-0006Ww-5h for pgsql-bugs@postgresql.org; Fri, 13 Dec 2013 10:50:12 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: BUG #8680: Fix initialization of pg_clog and pg_subtrans during hot standby startup To: pgsql-bugs@postgresql.org From: launchpad@maletin.de Message-Id: Date: Fri, 13 Dec 2013 10:50:12 +0000 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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