From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Heller <th.heller@comtron.net>
Cc: psql <pgsql-admin@postgresql.org>
Subject: Re: find bad record
Date: Mon, 05 Feb 2001 09:57:58 -0500
Message-ID: <16055.981385078@sss.pgh.pa.us> (raw)
In-Reply-To: <000d01c08f74$b5655830$b7217fd4@kjkafjuprmkaec>
References: <000d01c08f74$b5655830$b7217fd4@kjkafjuprmkaec>
"Thomas Heller" <th.heller@comtron.net> writes:
> vacuum says:
> NOTICE: Rel mxaccounts: TID 226/18: OID IS INVALID. TUPGONE 0.
> VACUUM
> mxaccounts is my table, but how do i find the record causing this notice?
Well, it's telling you the TID. Try
select * from mxaccounts where ctid = '(226,18)';
Note that the TID will change if you update the row!
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, th.heller@comtron.net
Subject: Re: find bad record
In-Reply-To: <16055.981385078@sss.pgh.pa.us>
References: <000d01c08f74$b5655830$b7217fd4@kjkafjuprmkaec> <16055.981385078@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