Re: Disabling FK for tables in Postgresql

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Disabling FK for tables in Postgresql
Date: 2009-01-29 05:59:28
Message-ID: 20090129055928.GA21497@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Josh Harrison :
> Hi
> Is it possible to disable FK constraints in Postgresql?

You can set the constraint deferred (if the constraint defined
deferrable) or drop the constraint.

http://www.postgresql.org/docs/current/static/sql-set-constraints.html

Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Asko Oja 2009-01-29 06:35:03 Re: possible pg_dump bug
Previous Message Tony Caduto 2009-01-29 05:05:52 Re: System table documentation