Re: how should I do to disable the foreign key in postgres?

From: "Trevor Talbot" <quension(at)gmail(dot)com>
To: froast <froast(at)qq(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: how should I do to disable the foreign key in postgres?
Date: 2007-11-18 02:24:19
Message-ID: 90bce5730711171824m3e7a69d9g9802d0877b5b33f3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/13/07, froast <froast(at)qq(dot)com> wrote:

> in mysql, I used :"set foreign_key_check = 0;" to disable the foreign key
> check, now I'm trying to migrate from mysql to postgres, how should I do to
> disable it?

PostgreSQL isn't really designed to let your data be compromised.
What actual problem are you trying to solve? Why do you need foreign
key constraints to be ignored?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-11-18 04:19:01 Re: Primary Key
Previous Message Scott Marlowe 2007-11-18 02:04:00 Re: md5() sorting