pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Marcelo Henrique da Silva <marcelo.silva@infocom.com.br>
Cc: pgsql-sql@postgresql.org
Subject: Re: Delete a FOREIGN KEY
Date: Tue, 30 Jul 2002 12:23:30 -0700 (PDT)
Message-ID: <20020730122235.R7549-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <008c01c237ef$f2da4f20$8d0a0a0a@infocom.com.br>

On Tue, 30 Jul 2002, Marcelo Henrique da Silva wrote:

> Hi All,
>
> I'm beginner in PostgreSQL!
> So, how can I delete a FOREIGN KEY in PostgreSQL?

You'll need to drop the triggers related to the foreign key.
You might want to look at the referential integrity documents
on techdocs.postgresql.org.





view thread (2+ messages)

Message-ID: <20020730122235.R7549-100000@megazone23.bigpanda.com>
Permalink:  ../20020730122235.R7549-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020730122235.R7549-100000@megazone23.bigpanda.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-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, marcelo.silva@infocom.com.br
  Subject: Re: Delete a FOREIGN KEY
  In-Reply-To: <20020730122235.R7549-100000@megazone23.bigpanda.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