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.