Re: Constraint exclusion with box and integer

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: Constraint exclusion with box and integer
Дата
Msg-id AANLkTimaMPQeZHx7pgV5XsZvt_Lt56rBZWDeV1Tfuft4@mail.gmail.com
обсуждение исходный текст
Ответ на Constraint exclusion with box and integer  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список pgsql-general
On Fri, Jan 21, 2011 at 6:36 PM, Daniele Varrazzo
<daniele.varrazzo@gmail.com> wrote:

> All the examples I've found check a record against the whole table.
> But in practice I will have a table of resources (hotel rooms,
> whatever) and independent periods for each resource.

Clarification: I have read the depesz article
(http://www.depesz.com/index.php/2010/01/03/waiting-for-8-5-exclusion-constraints/)
but in my problem the overlaps must be check on the combination of
three ids, so it would take a 4D box, and still I wonder if it would
be doable at all if an id was a string.

-- Daniele

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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Constraint exclusion with box and integer
Следующее
От: MargaretGillon@chromalloy.com
Дата:
Сообщение: pg_dumpall backup script w. ftp ; pgpass file ; after upgrade to Ubuntu 10.4 (lucid) and Postgresql 9.0.2