Re: Minor inheritance/check bug: Inconsistent behavior - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Minor inheritance/check bug: Inconsistent behavior
Date
Msg-id 20286.1345819107@sss.pgh.pa.us
Whole thread Raw
In response to Re: Minor inheritance/check bug: Inconsistent behavior  (Chris Travers <chris@metatrontech.com>)
Responses Re: Minor inheritance/check bug: Inconsistent behavior  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
Chris Travers <chris@metatrontech.com> writes:
> Table inheritance would be easier if there was a way to declare a
> constraint such that it prevents insert for some rows on the parent
> but not for a child and/or vice versa.

FWIW, 9.2 adds support for constraints that only apply to the named
table and don't get inherited to children.  I think use of such
constraints is probably better design than mucking around with tableoid,
even if we were to make that work.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Euler Taveira
Date:
Subject: Re: BUG #7504: corrupted statistics file "pg_stat_tmp/pgstat.stat"
Next
From: Amit Kapila
Date:
Subject: Re: Minor inheritance/check bug: Inconsistent behavior