How to temporarily disable referntial integrity?

From: "Ari Johannesson" <arividar(at)simnet(dot)is>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: How to temporarily disable referntial integrity?
Date: 2004-12-07 18:17:48
Message-ID: iss.433ab781.185b.41b5f39b.b0b25.2f@quasar.skima.is
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I have data to import into a postgres database. The data is referentially
sound but during the insert it breaks som foreign-key constraints. Is there
a way to turn off the referential integrity during the insert?

Thanks,

Ari Johannesson

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pradeepkumar, Pyatalo (IE10) 2004-12-08 05:23:44 Re: Running sql files
Previous Message Michael Fuhr 2004-12-07 17:01:40 Re: Running sql files