Re: Question on partitioning - Mailing list pgsql-admin

From Simon Riggs
Subject Re: Question on partitioning
Date
Msg-id 1163698723.27956.554.camel@silverbirch.site
Whole thread Raw
In response to Question on partitioning  ("Mark Steben" <msteben@autorevenue.com>)
Responses Re: Question on partitioning  ("Mark Steben" <msteben@autorevenue.com>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: "Albert"
Date:
Subject: PostGreSQL cannot start after windows update
Next
From: Will Cameron
Date:
Subject: Re: all postgres users do "not exist"