On Mon, Sep 17, 2012 at 11:58 AM, Salomao Domingos <
salomaodomingos(at)gmail(dot)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.