Re: Rows missing from table despite FK constraint - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Rows missing from table despite FK constraint
Date
Msg-id 20100108165340.GC3635@alvh.no-ip.org
Whole thread Raw
In response to Re: Rows missing from table despite FK constraint  (Konrad Garus <konrad.garus@gmail.com>)
Responses Re: Rows missing from table despite FK constraint  (Konrad Garus <konrad.garus@gmail.com>)
List pgsql-general
Konrad Garus escribió:
> 2010/1/8 Tom Lane <tgl@sss.pgh.pa.us>:
> > So, no wraparound problem ... odder and odder.  Could we see the whole
> > -i -f printout for that block?  You trimmed some of it before,
> > particularly the block header.
>
> Attached.
>
> Since data on disk looks correct, is it possible to diagnose it on a
> higher level? Could the damage be done by vacuum?

I'm a bit surprised by the block numbers in the block header vs. t_self ...
I would have guessed that they come from a different segment (and
the numbers seem to match, as 603713 % 131072 = 79425), but Konrad
doesn't seem to be using the foo.4 file.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Table appears on listing but can't drop it
Next
From: Fernando Morgenstern
Date:
Subject: Re: Table appears on listing but can't drop it