pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
find bad record
2+ messages / 2 participants
[nested] [flat]

* find bad record
@ 2001-02-05 13:08 Thomas Heller <th.heller@comtron.net>
  2001-02-05 14:57 ` Re: find bad record Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Thomas Heller @ 2001-02-05 13:08 UTC (permalink / raw)
  To: pgsql-admin

Hi there,

i have a little problem with one of my tables. can someone explain me how to
find that record?

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?

thanks in advance,
thomas




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: find bad record
  2001-02-05 13:08 find bad record Thomas Heller <th.heller@comtron.net>
@ 2001-02-05 14:57 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-02-05 14:57 UTC (permalink / raw)
  To: Thomas Heller <th.heller@comtron.net>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-02-05 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-05 13:08 find bad record Thomas Heller <th.heller@comtron.net>
2001-02-05 14:57 ` Tom Lane <tgl@sss.pgh.pa.us>

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