TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)

Поиск
Список
Период
Сортировка
От Andrew Hammond
Тема TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)
Дата
Msg-id 1177351829.766323.69790@p77g2000hsh.googlegroups.com
обсуждение исходный текст
Ответы Re: TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
If you have a table with a bunch of children, and these children all
have a primary key which is generated from the same sequence, assuming
that you're partitioning based on date (ie, this is a transaction
record table), it would be nice if the planner could spot that all
tables have a primary key on a column used as a join condition, check
the min / max to see if there is overlap between tables, then apply
CBE as if constraints existed.

This strikes me as a pretty common situation, certainly we're seeing
it here.

Andrew



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgAdmin Query column width
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: TODO idea - implicit constraints across child tables with a common column as primary key (but obviously not a shared index)