From: Tom Lane <tgl@sss.pgh.pa.us>
To: shiguangsheng@huawei.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11025: could not access status of transaction 7
Date: Wed, 23 Jul 2014 16:48:51 -0400
Message-ID: <27346.1406148531@sss.pgh.pa.us> (raw)
In-Reply-To: <20140723072420.27765.68794@wrigleys.postgresql.org>
References: <20140723072420.27765.68794@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
shiguangsheng@huawei.com writes:
> PostgreSQL version: 8.3.17
8.3 is long out of support (and 8.3.17 even more so).
> I added a function that is used to scan the specified table.
You didn't show us enough of that function to be sure, but I rather
suspect that you're failing to pay attention to the
XMIN/XMAX COMMITTED/INVALID status bits. Once those are set it is
no longer appropriate to try to fetch the actual commit status,
because the system is allowed to truncate away the relevant part of
pg_clog.
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, shiguangsheng@huawei.com
Subject: Re: BUG #11025: could not access status of transaction 7
In-Reply-To: <27346.1406148531@sss.pgh.pa.us>
References: <20140723072420.27765.68794@wrigleys.postgresql.org> <27346.1406148531@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