From shreedhar@lucidindia.net Fri May 24 11:49:54 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id B172B47585D for ; Fri, 24 May 2002 07:49:54 -0400 (EDT) Received: from lucidindia.net (unknown [61.11.73.194]) by postgresql.org (Postfix) with ESMTP id EB120475852 for ; Fri, 24 May 2002 07:49:48 -0400 (EDT) Received: from a4005 ([192.168.1.18]) by lucidindia.net (8.11.6/8.11.6) with SMTP id g4OBpFs07908 for ; Fri, 24 May 2002 17:21:19 +0530 Message-ID: <00b201c20319$3ce3c120$1201a8c0@a4005> From: "shreedhar" To: "pgsql" Subject: How can i drop a foreign key relation Date: Fri, 24 May 2002 16:34:23 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00AF_01C20340.DC7D61B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200205/191 X-Sequence-Number: 4366 This is a multi-part message in MIME format. ------=_NextPart_000_00AF_01C20340.DC7D61B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all,=20 How can i drop a foreign key relation. In my database I gave reverse relati= on ships which i should alter.=20 thanks alot, with best regards, baskar ------=_NextPart_000_00AF_01C20340.DC7D61B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
How can i drop a foreign key relation. In = my=20 database I gave reverse relation ships which i should alter.
 
thanks alot,
 
with best regards,
baskar
------=_NextPart_000_00AF_01C20340.DC7D61B0-- From sszabo@megazone23.bigpanda.com Fri May 24 15:45:51 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 92FD1475425 for ; Fri, 24 May 2002 11:45:51 -0400 (EDT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id 33205475D08 for ; Fri, 24 May 2002 11:45:04 -0400 (EDT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 43940D608; Fri, 24 May 2002 08:45:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 394E35C04; Fri, 24 May 2002 08:45:05 -0700 (PDT) Date: Fri, 24 May 2002 08:45:05 -0700 (PDT) From: Stephan Szabo To: shreedhar Cc: pgsql Subject: Re: How can i drop a foreign key relation In-Reply-To: <00b201c20319$3ce3c120$1201a8c0@a4005> Message-ID: <20020524084418.F78727-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200205/194 X-Sequence-Number: 4369 On Fri, 24 May 2002, shreedhar wrote: > How can i drop a foreign key relation. In my database I gave reverse > relation ships which i should alter. You'll need to drop the three triggers that are created by the foreign key constraint. If you go to techdocs.postgresql.org there are some pages on the foreign key constraints that should give more info.