Re: Problem with FKEYS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with FKEYS
Date: 2003-11-12 15:40:17
Message-ID: 8857.1068651617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rajesh Kumar Mallah <mallah(at)trade-india(dot)com> writes:
> How come pgsql7.3.4 Was allowing me to delete the master record while
> referencing records were present in slave table?

The only explanation I can think of is that the referencing row shown as
being in user_services was actually in a child table --- foreign keys
don't work in inheritance hierarchies at the moment.

If that's not it, can you provide a self-contained example?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-11-12 15:45:48 Re: [HACKERS] Proposal for a cascaded master-slave replication system
Previous Message Bruno Wolff III 2003-11-12 15:39:56 Re: Perfomance difference between 7.2 and 7.3