Re: Declarative partitioning grammar

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: Declarative partitioning grammar
Дата
Msg-id 20080114234130.GJ7216@europa.idg.com.au
обсуждение исходный текст
Ответ на Re: Declarative partitioning grammar  (NikhilS <nikkhils@gmail.com>)
Список pgsql-hackers
On Sat, Jan 12, 2008 at 04:01:19PM +0530, NikhilS wrote:
> Hi,
> 
> > We did look at allowing general functions for partitioning and this
> > was one concern.  The other is that we want to enforce that a row
> > only gets inserted into a single partition, so we wanted a
> > declarative syntax where it was relatively easy to check that range
> > and list specifications don't overlap.
> >
> 
> Detection of mutually exclusive ranges might not turn out to be so easy
> afterall. I think there is some code in the constraint_exclusion area which
> might help out in this.

In some prototyping code it didn't seem too difficult but if we've made
a mistake we might have to look at the CE code.

Thanks,

Gavin



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug: Unreferenced temp tables disables vacuum to update xid
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Bug: Unreferenced temp tables disables vacuum to update xid