Skip site navigation (1) Skip section navigation (2)

Re: FK's to refer to rows in inheritance child

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>, "w(dot)p(dot)dijkstra(at)mgrid(dot)net" <w(dot)p(dot)dijkstra(at)mgrid(dot)net>
Subject: Re: FK's to refer to rows in inheritance child
Date: 2010-12-01 14:51:12
Message-ID: 4CF660E0.3050001@gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On 2010-12-01 15:27, Tom Lane wrote:
> Yeb Havinga<yebhavinga(at)gmail(dot)com>  writes:
>> FK's cannot refer to rows in inheritance childs. With some changes in
>> LockRows, together with removing the ONLY keyword in ri_trigger.c, it
>> was possible to refer to the rows in child relations. (WIP patch attached)
>> Though it passes simple tests, it is far from complete.
> Indeed.  This isn't even worth the time to review, unless you have a
> proposal for fixing the unique-index-across-multiple-tables problem.
That was in the part that you chose to not quote.

regards,
Yeb Havinga


In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-12-01 14:51:20
Subject: Re: KNNGIST next step: adjusting indexAM API
Previous:From: Tom LaneDate: 2010-12-01 14:41:08
Subject: Re: Proposal: First step towards Intelligent, integrateddatabase

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group