Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGlyb-0001kD-6L for pgsql-bugs@postgresql.org; Wed, 26 Sep 2012 07:24:09 +0000 Received: from ch1ehsobe001.messaging.microsoft.com ([216.32.181.181] helo=ch1outboundpool.messaging.microsoft.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGlyY-0006CU-V6 for pgsql-bugs@postgresql.org; Wed, 26 Sep 2012 07:24:07 +0000 Received: from mail129-ch1-R.bigfish.com (10.43.68.243) by CH1EHSOBE020.bigfish.com (10.43.70.77) with Microsoft SMTP Server id 14.1.225.23; Wed, 26 Sep 2012 07:24:04 +0000 Received: from mail129-ch1 (localhost [127.0.0.1]) by mail129-ch1-R.bigfish.com (Postfix) with ESMTP id A56C64000A9 for ; Wed, 26 Sep 2012 07:24:04 +0000 (UTC) X-Forefront-Antispam-Report: CIP:62.115.255.98; KIP:(null); UIP:(null); IPV:NLI; H:SMTPinbound.pharmatechnik.de; RD:smtpinbound.pharmatechnik.de; EFVD:NLI X-SpamScore: -4 X-BigFish: VPS-4(zzc89bhd6eah1432I13e6Kzz1d18h1202h1d1ah1d2ahzzz2dh2a8h668h839hd25he5bhf0ah107ah1288h12a5h12a9h12bdh137ah13b6h1155h) Received: from mail129-ch1 (localhost.localdomain [127.0.0.1]) by mail129-ch1 (MessageSwitch) id 1348644242928860_26133; Wed, 26 Sep 2012 07:24:02 +0000 (UTC) Received: from CH1EHSMHS042.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.248]) by mail129-ch1.bigfish.com (Postfix) with ESMTP id E08964E005D for ; Wed, 26 Sep 2012 07:24:02 +0000 (UTC) Received: from SMTPinbound.pharmatechnik.de (62.115.255.98) by CH1EHSMHS042.bigfish.com (10.43.69.251) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 26 Sep 2012 07:24:00 +0000 Received: from [172.30.1.153] (172.30.1.153) by STAEXCHT10.pharmatechnik.de (172.16.4.100) with Microsoft SMTP Server (TLS) id 14.2.318.1; Wed, 26 Sep 2012 09:23:46 +0200 Message-ID: <5062AD88.4090506@pharmatechnik.de> Date: Wed, 26 Sep 2012 09:23:52 +0200 From: =?ISO-8859-15?Q?Stefan_Pr=F6ls?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Subject: Re: BUG #7567: Sequences not properly replicated References: <21328.1348589327@sss.pgh.pa.us> In-Reply-To: <21328.1348589327@sss.pgh.pa.us> Content-Type: text/plain; charset="ISO-8859-15"; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.30.1.153] X-OriginatorOrg: pharmatechnik.de X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/270 X-Sequence-Number: 34264 Am 25.09.2012 18:08, schrieb Tom Lane: > s.proels@pharmatechnik.de writes: >> The following bug has been logged on the website: >> Bug reference: 7567 >> Logged by: Stefan Pr=C3=B6ls >> Email address: s.proels@pharmatechnik.de >> PostgreSQL version: 9.1.3 >> Operating system: OpenSUSE 11.4 32-Bit >> Description: >> Scenario: >> 1 Master, 1 Hot-Standby Slave, asynchronous streaming replication, both >> servers PostgreSQL 9.1.3. > The fact that the slave sees the last_value as ahead of the master is > not a bug; you'd have the same last_value on the master if it were to > crash and restart. (This is due to a tradeoff made long ago to reduce > the amount of WAL traffic created by nextval: only one WAL record is > written per 32 nextval's, and that record claims last_value is 32 ahead > of what it previously was.) > > There is a known bug, fixed in 9.1.5, associated with sequences that > have been ALTER'd ... but that's not what you're showing here. > > regards, tom lane > Ah, I see. Thank you for explaining this! Best regards, Stefan Pr=F6ls ________________________________ PHARMATECHNIK GmbH und Co. KG M=FCnchner Strasse 15 D-82319 Starnberg Sitz der Gesellschaft: Starnberg HRA: 64434, HRB: 66369, Amtsgericht M=FCnchen Gesch=E4ftsf=FChrer: Dr. Detlef Graessner, Dr. Mathias Schindl, Stephan J= =F6rgens