Re: PostgreSQL Write Performance - Mailing list pgsql-general

From Christophe Pettus
Subject Re: PostgreSQL Write Performance
Date
Msg-id 26667536-DB10-46E2-A7AB-38304A2BF59B@thebuild.com
Whole thread Raw
In response to Re: PostgreSQL Write Performance  (Tim Uckun <timuckun@gmail.com>)
List pgsql-general
On Jan 5, 2010, at 3:46 PM, Tim Uckun wrote:
> pg_dump has a --disable-triggers option too.

[...]

> It doesn't seem like an outrageous expectation that the COPY command
> or something similar should have that option.

Well, whether an expectation is "outrageous" or not is a matter of
viewpoint.  The principle is that pg_dump and COPY have fundamentally
different use cases.  pg_dump is intended to restore a backup of data
that was already in the database, and presumably was already validated
by the appropriate constraints and triggers.  COPY is used to create
new records in a database, from arbitrary data, which may not be valid
based on the database's vision of data consistency.

--
-- Christophe Pettus
    xof@thebuild.com


pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: pgbench out of memory error
Next
From: Andrew Lardinois
Date:
Subject: XML Type validates against xml schema?