From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Adam Witney <awitney@sgul.ac.uk>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Cc: Michael Fuhr <mike@fuhr.org>
Subject: Re: pg_dump error... Follow up
Date: Thu, 08 Sep 2005 12:28:55 -0400
Message-ID: <7575.1126196935@sss.pgh.pa.us> (raw)
In-Reply-To: <20050908155621.GB13949@surnet.cl>
References: <6689.1126190796@sss.pgh.pa.us>
<BF4616A8.4C8AB%awitney@sgul.ac.uk>
<20050908155621.GB13949@surnet.cl>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> To Tom: could this be caused by a WAL recovery that wrote a page image
> to the wrong table? I guess it is very unlikely because the CRC of the
> WAL record would likely not match, but it's an idea.
I don't see any reason to think that WAL recovery would be more likely
to cause this than normal operation.
If it is a Postgres bug, my thoughts were pointing in the direction of a
race condition that somehow allows the tag (identifier) of a buffer to
be changed before it gets written out. I don't see any way that could
happen ... but given the very small number of reports of such problems
(i.e. 1) it would definitely have to be induced by some really
low-probability event, such as a race condition with a very narrow
window.
Or it might not be our bug. We've certainly seen previous cases in
which either the kernel or the disk drive wrote the wrong data --- it
could be that this is the same thing, only it happened that the "wrong
data" was some other Postgres data that happened to be passing through
the system at about the same time.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, awitney@sgul.ac.uk, mike@fuhr.org
Subject: Re: pg_dump error... Follow up
In-Reply-To: <7575.1126196935@sss.pgh.pa.us>
References: <6689.1126190796@sss.pgh.pa.us> <BF4616A8.4C8AB%awitney@sgul.ac.uk> <20050908155621.GB13949@surnet.cl> <7575.1126196935@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