Re: Disable Constraints in Postgresql 8.4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jyoti Seth <jyotiseth2001(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Disable Constraints in Postgresql 8.4
Date: 2009-09-29 14:13:05
Message-ID: 8259.1254233585@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Jyoti Seth <jyotiseth2001(at)gmail(dot)com> writes:
> How can I disable and enable constraints in Postgres Version 8.4?

See ALTER TABLE DISABLE TRIGGER. (Fooling with reltriggers has been
deprecated since 8.1.)

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jyoti Seth 2009-10-01 05:14:41 Pg_Restore with --clean option
Previous Message Jyoti Seth 2009-09-29 08:52:14 Disable Constraints in Postgresql 8.4