Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id AB8B19FC50C for ; Thu, 25 Oct 2007 08:15:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 75370-04 for ; Thu, 25 Oct 2007 08:15:41 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by postgresql.org (Postfix) with ESMTP id B482A9FC4C2 for ; Thu, 25 Oct 2007 08:15:45 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id m38so696312waf for ; Thu, 25 Oct 2007 04:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=/pZcxKVAXF7Bognqlk0n5LgnXBVwCUUOtu4GFz54l+8=; b=GEay9dXpNyRlue6ZXZ5DHZr0H0yIgF71RiFxwfjfQeDBWjxS/LEnRaxkCE7s/1uU/2kGzVrIviMvyb5CZw6MlnrrgHzCo+ZeTKyGOOT9UQ6O8jWTxclmQOUxCeLmGPMO4epjjiuE15czucyQ+MGIayIk0+E4nPCFcZB5dMbP0M4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=iNHRoVR2UQjDkycgj359QfPmO7aEr4R0o9ZloNu8fwyjhoDTyQ/wxevrIMY/XO2yj8QfvO7UNsZFEvZrkuLzlE0JbYdtauysYFz6wnf4SrglXn+W224RluZJ/6h832pRiQkGE5TvTnOVXlMknhE71BoJ/IAio+B5eZFMHz+M2F4= Received: by 10.114.14.1 with SMTP id 1mr1987657wan.1193310944113; Thu, 25 Oct 2007 04:15:44 -0700 (PDT) Received: by 10.114.136.2 with HTTP; Thu, 25 Oct 2007 04:15:43 -0700 (PDT) Message-ID: Date: Thu, 25 Oct 2007 13:15:43 +0200 From: "Ewald Geschwinde" To: pgsql-admin@postgresql.org Subject: create foreign key without checking MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_964_26586235.1193310944099" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/246 X-Sequence-Number: 27160 ------=_Part_964_26586235.1193310944099 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_964_26586235.1193310944099 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_964_26586235.1193310944099--