From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Jones <ejones@engineyard.com>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Duplicate key existant/index visibility bug in 9.3.3
Date: Mon, 26 Jan 2015 18:04:31 -0500
Message-ID: <18571.1422313471@sss.pgh.pa.us> (raw)
In-Reply-To: <9ED28E1E-9F4D-4794-A1DD-0D49D085A6E6@engineyard.com>
References: <D43A52C1-79DD-4621-B7D2-B21BF66DB2C2@engineyard.com>
<17148.1422310763@sss.pgh.pa.us>
<CAM3SWZQA1B9NKp1g89+Ls=FQPeOw_5yHATQ59o7y9WpQsCZfYw@mail.gmail.com>
<17880.1422312207@sss.pgh.pa.us>
<9ED28E1E-9F4D-4794-A1DD-0D49D085A6E6@engineyard.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Erik Jones <ejones@engineyard.com> writes:
> On Jan 26, 2015, at 2:43 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Maybe. That would require at least one crash recovery to have happened on
>> the server, which Erik seemed to be claiming had not happened. But
>> if there were any crashes then it would possibly fit.
> Definitely nothing recent crash/recovery-wise but digging further back in the logs it looks like there was a crash recovery run startup back on 2014-09-30, which was about a week after this server was created. I suppose it’s possible that the index has been corrupt since then but only now showing something visible?
Doesn't fit this specific bug fix --- the case it addresses would cause
already-existing rows to become unreachable from the index during crash
recovery. AFAICS that could not create a latent problem for rows inserted
later. Still, this isn't the only bug fixed in 9.3.4/9.3.5. Personally
I'm wondering about c0bd128c81c2b23a1cbc53305180fca51b3b61c3.
I'll try to refrain from asking why a server initdb'd in September wasn't
running 9.3.5 from inception.
regards, tom lane
--
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: tgl@sss.pgh.pa.us, ejones@engineyard.com, pg@heroku.com
Subject: Re: Duplicate key existant/index visibility bug in 9.3.3
In-Reply-To: <18571.1422313471@sss.pgh.pa.us>
References: <D43A52C1-79DD-4621-B7D2-B21BF66DB2C2@engineyard.com> <17148.1422310763@sss.pgh.pa.us> <CAM3SWZQA1B9NKp1g89+Ls=FQPeOw_5yHATQ59o7y9WpQsCZfYw@mail.gmail.com> <17880.1422312207@sss.pgh.pa.us> <9ED28E1E-9F4D-4794-A1DD-0D49D085A6E6@engineyard.com> <18571.1422313471@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