pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ewald Geschwinde <egeschwinde@gmail.com>
To: pgsql-admin@postgresql.org
Subject: create foreign key without checking
Date: Thu, 25 Oct 2007 13:15:43 +0200
Message-ID: <cf42ed390710250415x7983bbceg79b5ea7df9f31c99@mail.gmail.com> (raw)

Is there a way to make inserts int the systemtables to create a foreign key
without checks

I have archive tables to put in the database - and then data will be
inserted afterwards to that table
I want to switch off foreign keys for the import and activate them after the
import but without checking

The data matches the foreign keys which I import

Is this possible?


-- 
Ewald Geschwinde

Message-ID: <cf42ed390710250415x7983bbceg79b5ea7df9f31c99@mail.gmail.com>
Permalink:  ../cf42ed390710250415x7983bbceg79b5ea7df9f31c99@mail.gmail.com/
Also on:    postgresql.org/message-id/cf42ed390710250415x7983bbceg79b5ea7df9f31c99@mail.gmail.com

 · 

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-admin@postgresql.org
  Cc: egeschwinde@gmail.com
  Subject: Re: create foreign key without checking
  In-Reply-To: <cf42ed390710250415x7983bbceg79b5ea7df9f31c99@mail.gmail.com>

* 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