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

From Konrad Garus
Subject Re: Rows missing from table despite FK constraint
Date
Msg-id 6645f6441001080931i261e09c8uc36f417787f08785@mail.gmail.com
Whole thread Raw
In response to Re: Rows missing from table despite FK constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Rows missing from table despite FK constraint  (Adrian Klaver <adrian.klaver@gmail.com>)
Re: Rows missing from table despite FK constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
2010/1/8 Tom Lane <tgl@sss.pgh.pa.us>:
> Oh, so the row *is* there.

Right. I'm happy to see it.

> 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.

--
Konrad Garus

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Rows missing from table despite FK constraint
Next
From: Adrian Klaver
Date:
Subject: Re: Rows missing from table despite FK constraint