Re: Do we still need constraint_exclusion? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Do we still need constraint_exclusion?
Date
Msg-id 26463.1231353395@sss.pgh.pa.us
Whole thread Raw
In response to Re: Do we still need constraint_exclusion?  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Do we still need constraint_exclusion?
Re: Do we still need constraint_exclusion?
Re: Do we still need constraint_exclusion?
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> So, barring objections, I'll go make this happen.  What do we want to
>> call the intermediate constraint_exclusion value?  The first thing
>> that comes to mind is constraint_exclusion = 'child', but perhaps
>> someone has a better idea.

> Not a huge fan of 'child' since it implies inheritance.  'union' doesn't
> work for a similar reason.  What about 'partitioned'?

Hm, how about just 'partition'?  Your argument is fair, and another
point in its favor is that someday we'll probably have an explicit
notion of partitioned tables and both the inheritance and union-view
approaches would become legacy methods.  We'd certainly want constraint
exclusion to apply to all three by default.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Do we still need constraint_exclusion?
Next
From: Josh Berkus
Date:
Subject: Re: Do we still need constraint_exclusion?