pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jyoti Seth <jyotiseth2001@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Disable Constraints in Postgresql 8.4
Date: Tue, 29 Sep 2009 10:13:05 -0400
Message-ID: <8259.1254233585@sss.pgh.pa.us> (raw)
In-Reply-To: <25659252.post@talk.nabble.com>
References: <25659252.post@talk.nabble.com>

Jyoti Seth <jyotiseth2001@gmail.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



view thread (2+ messages)

Message-ID: <8259.1254233585@sss.pgh.pa.us>
Permalink:  ../8259.1254233585@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8259.1254233585@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jyotiseth2001@gmail.com
  Subject: Re: Disable Constraints in Postgresql 8.4
  In-Reply-To: <8259.1254233585@sss.pgh.pa.us>

* 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