Skip site navigation (1) Skip section navigation (2)

Re: inheritance. more.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Karsten Hilbert" <Karsten(dot)Hilbert(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: inheritance. more.
Date: 2008-04-30 15:12:47
Message-ID: 18973.1209568367@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
"Karsten Hilbert" <Karsten(dot)Hilbert(at)gmx(dot)net> writes:
>> And maybe having one huge index managing the uniqueness across partitioned
>> data just defeats the idea of data partitioning!

> Except when you want uniqueness across all partitions.

Well, the point was that if the partitioning arrangement guarantees to
put distinct ranges of the key into distinct tables, then a separate
unique constraint on each table would suffice to guarantee global
uniqueness.

You can set up such a thing today, but it's a manual jury-rigged affair.
An automatic partitioning system would be a lot nicer.

			regards, tom lane

In response to

pgsql-general by date

Next:From: Andrew SullivanDate: 2008-04-30 15:20:50
Subject: Re: How to modify ENUM datatypes?
Previous:From: Craig RingerDate: 2008-04-30 15:00:46
Subject: Re: How to modify ENUM datatypes?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group