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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org