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

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yeb Havinga <yebhavinga(at)gmail(dot)com>
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:27:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
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.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Robert HaasDate: 2010-12-01 14:27:54
Subject: Re: GiST insert algorithm rewrite
Previous:From: Andres FreundDate: 2010-12-01 14:24:07
Subject: Re: profiling connection overhead

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