Re: Do we still need constraint_exclusion?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Do we still need constraint_exclusion?
Дата
Msg-id 26463.1231353395@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Do we still need constraint_exclusion?  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Do we still need constraint_exclusion?  (Josh Berkus <josh@agliodbs.com>)
Re: Do we still need constraint_exclusion?  (Zeugswetter Andreas OSB sIT <Andreas.Zeugswetter@s-itsolutions.at>)
Re: Do we still need constraint_exclusion?  (Stephen Frost <sfrost@snowman.net>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Do we still need constraint_exclusion?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Do we still need constraint_exclusion?