pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nandakumar M <m.nanda92@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Row exists in a table that violates Foreign key constraint
Date: Fri, 17 Aug 2018 13:48:48 -0400
Message-ID: <9419.1534528128@sss.pgh.pa.us> (raw)
In-Reply-To: <CANcFUu64QQdptZoE43+QYcPoJ-1yyyZQrOgf-7DcdgLeg-gc9Q@mail.gmail.com>
References: <CANcFUu64QQdptZoE43+QYcPoJ-1yyyZQrOgf-7DcdgLeg-gc9Q@mail.gmail.com>

Nandakumar M <m.nanda92@gmail.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




view thread (2+ messages)

Message-ID: <9419.1534528128@sss.pgh.pa.us>
Permalink:  ../9419.1534528128@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9419.1534528128@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, m.nanda92@gmail.com
  Subject: Re: Row exists in a table that violates Foreign key constraint
  In-Reply-To: <9419.1534528128@sss.pgh.pa.us>
  References: <CANcFUu64QQdptZoE43+QYcPoJ-1yyyZQrOgf-7DcdgLeg-gc9Q@mail.gmail.com> <9419.1534528128@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox