Re: Inheritance - Mailing list pgsql-hackers

From Curt Sampson
Subject Re: Inheritance
Date
Msg-id Pine.NEB.4.44.0208151017410.463-100000@angelic.cynic.net
Whole thread Raw
In response to Re: Inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, 14 Aug 2002, Tom Lane wrote:

> It's nonlocal constraints that are the problem, and here foreign keys
> and UNIQUE constraints are certainly the canonical examples.  Both of
> these would be largely solved with table-spanning indexes I think.

Note that the other obvious way to solve this would be to store all of
the information inherited from the parent in the parent table, so that
you don't have to do anything special to make all of the constraints and
whatnot apply.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org   Don't you know, in this new Dark Age, we're
alllight.  --XTC
 



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: another multibyte question
Next
From: ngpg@grymmjack.com
Date:
Subject: Re: Open 7.3 items