Re: Row exists in a table that violates Foreign key constraint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nandakumar M <m(dot)nanda92(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Row exists in a table that violates Foreign key constraint
Date: 2018-08-17 17:48:48
Message-ID: 9419.1534528128@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Nandakumar M <m(dot)nanda92(at)gmail(dot)com> writes:
> I have a table with a FK constraint to another table. There exists one row
> on the referring table with no corresponding row on the referred table. I
> tried validating the constraint but that did not produce any errors. This
> is on a older version of Postgres (9.2.4)

9.2.x is out of support; moreover, the last release in that series was
9.2.24, so you are missing a large number of bug fixes, including some
known data-corruption hazards.

If you can replicate this problem on an up-to-date Postgres release,
we'd be quite interested, but nobody is likely to spend any effort
looking into problems in 9.2.4.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergei Kornilov 2018-08-17 18:01:31 Re: BUG #15338: pg_restore --disable-triggers --data-only AND schema for table is not set.
Previous Message PG Bug reporting form 2018-08-17 16:58:43 BUG #15339: ddd