Re: inheritance. more.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: inheritance. more.
Дата
Msg-id 18973.1209568367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: inheritance. more.  ("Karsten Hilbert" <Karsten.Hilbert@gmx.net>)
Список pgsql-general
"Karsten Hilbert" <Karsten.Hilbert@gmx.net> writes:
>> And maybe having one huge index managing the uniqueness across partitioned
>> data just defeats the idea of data partitioning!

> Except when you want uniqueness across all partitions.

Well, the point was that if the partitioning arrangement guarantees to
put distinct ranges of the key into distinct tables, then a separate
unique constraint on each table would suffice to guarantee global
uniqueness.

You can set up such a thing today, but it's a manual jury-rigged affair.
An automatic partitioning system would be a lot nicer.

            regards, tom lane

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: How to modify ENUM datatypes?
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: How to modify ENUM datatypes?