Re: Rows missing from table despite FK constraint

From: Konrad Garus <konrad(dot)garus(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>, pgsql-general(at)postgresql(dot)org
Subject: Re: Rows missing from table despite FK constraint
Date: 2010-01-08 17:31:37
Message-ID: 6645f6441001080931i261e09c8uc36f417787f08785@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/1/8 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-01-08 17:35:07 Re: Rows missing from table despite FK constraint
Previous Message Tom Lane 2010-01-08 17:28:36 Re: Rows missing from table despite FK constraint