Search Postgresql Archives

Re: Constraint exclusion with box and integer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 21, 2011 at 6:36 PM, Daniele Varrazzo
<daniele.varrazzo@xxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux