From: Simon Riggs <simon@2ndquadrant.com>
To: Colton A Smith <smith@cs.utk.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: COPY and partitioning
Date: Sun, 20 Nov 2005 17:33:58 +0000
Message-ID: <1132508038.4959.367.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.62.0511170946370.29277@cetus5.cs.utk.edu>
References: <Pine.LNX.4.62.0511170946370.29277@cetus5.cs.utk.edu>
On Thu, 2005-11-17 at 09:55 -0500, Colton A Smith wrote:
> My question: does the COPY utility consult check constraints
> before populating tables?
No.
I'd dump it piece by piece using a WHERE clause exactly the same as the
constraints you will use, then reload using COPY into the partitions.
Best Regards, Simon Riggs
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, smith@cs.utk.edu
Subject: Re: COPY and partitioning
In-Reply-To: <1132508038.4959.367.camel@localhost.localdomain>
References: <Pine.LNX.4.62.0511170946370.29277@cetus5.cs.utk.edu> <1132508038.4959.367.camel@localhost.localdomain>
* 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