pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Shraibman <jks@selectacast.net>
To: pgsql-sql@postgresql.org
Subject: dropping foreign key
Date: Tue, 23 Oct 2001 17:58:50 -0400
Message-ID: <3BD5E81A.9010406@selectacast.net> (raw)

I have to drop a froeign key from one of my tables.  The problem is that I have another 
table that has a foreign key on the first one, so I can't do the select to temp-table 
thing and move it back.

Is there any way I can remove it by mucking with pg's internal tables?

-- 
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com




view thread (4+ messages)  latest in thread

Message-ID: <3BD5E81A.9010406@selectacast.net>
Permalink:  ../3BD5E81A.9010406@selectacast.net/
Also on:    postgresql.org/message-id/3BD5E81A.9010406@selectacast.net

 · 

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: jks@selectacast.net
  Subject: Re: dropping foreign key
  In-Reply-To: <3BD5E81A.9010406@selectacast.net>

* 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