From: Simon Riggs <simon@2ndquadrant.com>
To: Mark Steben <msteben@autorevenue.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Question on partitioning
Date: Thu, 16 Nov 2006 17:38:42 +0000
Message-ID: <1163698723.27956.554.camel@silverbirch.site> (raw)
In-Reply-To: <001201c708f2$839a8c00$b501a8c0@D1RPQZB1>
References: <001201c708f2$839a8c00$b501a8c0@D1RPQZB1>
On Wed, 2006-11-15 at 15:13 -0500, Mark Steben wrote:
> Regarding partitioning – I set up a testing table – parent table and 4
> partitioning children’s tables inheriting the
>
> Attributes of the parent. I inserted 1800 rows in all – 450 equitably
> in each partition. The CHECK constraints work great.
>
> The PART_ID column, defined as SMALLINT, Is the partitioning
> column.
>
You'll probably want to look at the caveats here
http://www.postgresql.org/docs/8.2/static/ddl-partitioning.html#DDL-PARTITIONING-CAVEATS
especially the ones about cross-datatype comparisons in CHECK
constraints.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: simon@2ndquadrant.com, msteben@autorevenue.com
Subject: Re: Question on partitioning
In-Reply-To: <1163698723.27956.554.camel@silverbirch.site>
References: <001201c708f2$839a8c00$b501a8c0@D1RPQZB1> <1163698723.27956.554.camel@silverbirch.site>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox