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

From Tom Lane
Subject Re: Rows missing from table despite FK constraint
Date
Msg-id 9137.1262972634@sss.pgh.pa.us
Whole thread Raw
In response to Re: Rows missing from table despite FK constraint  (Konrad Garus <konrad.garus@gmail.com>)
List pgsql-general
Konrad Garus <konrad.garus@gmail.com> writes:
> 2010/1/8 Tom Lane <tgl@sss.pgh.pa.us>:
>> What the above says is that you have a
>> corrupt index on attachment_id, which you should be able to fix via
>> REINDEX.

> This is not correct. The dumps are made with pg_dump. We did reindex
> on the table. I also tried looking for the row with another index and
> with seq scan and could not see it.

I'm still baffled then, and am starting to think that this really needs
some investigation with a debugger.  How are you with gdb?  Or is there
a chance of letting me or another developer poke at (a copy of) your
database?

            regards, tom lane

pgsql-general by date:

Previous
From: Konrad Garus
Date:
Subject: Re: Rows missing from table despite FK constraint
Next
From: Adrian Klaver
Date:
Subject: Re: Table appears on listing but can't drop it