Re: Disabling constraint check - Mailing list pgsql-sql

From Richard Broersma
Subject Re: Disabling constraint check
Date
Msg-id CABvLTWEXfEZXSWRbiKaW=EzpYaWMmBv3hch4CAHqTMn4LKvz0w@mail.gmail.com
Whole thread Raw
In response to Disabling constraint check  (Salomao Domingos <salomaodomingos@gmail.com>)
List pgsql-sql
On Mon, Sep 17, 2012 at 11:58 AM, Salomao Domingos <salomaodomingos@gmail.com> wrote:
... however how can I disabling CHECK CONSTRAINT too?

From the sub-section on DEFERRABLE NOT DEFERRABLE:
http://www.postgresql.org/docs/9.2/interactive/sql-createtable.html#SQL-CREATETABLE-EXCLUDE

You cannot disable a check constraint. 

Perhaps a staging table is advisable here?
 
--
Regards,
Richard Broersma Jr.

pgsql-sql by date:

Previous
From: "Oliveiros d'Azevedo Cristina"
Date:
Subject: Re: Disabling constraint check
Next
From: "BACHELART PIERRE (CIS/SCC)"
Date:
Subject: matching a timestamp field