Re: Declarative partitioning grammar - Mailing list pgsql-hackers

From NikhilS
Subject Re: Declarative partitioning grammar
Date
Msg-id d3c4af540801120231u6eed4a5v365288ea6991cd31@mail.gmail.com
Whole thread Raw
In response to Re: Declarative partitioning grammar  (Jeff Cohen <jcohen@greenplum.com>)
Responses Re: Declarative partitioning grammar  (Gavin Sherry <swm@alcove.com.au>)
List pgsql-hackers
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.
 
Regards,
Nikhils
--
EnterpriseDB               http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: NikhilS
Date:
Subject: Re: Declarative partitioning grammar
Next
From: NikhilS
Date:
Subject: Re: Declarative partitioning grammar