pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: Break referential integrity.
Date: Wed, 02 Jul 2003 13:59:50 +1000
Message-ID: <3F0258B6.1040908@oasis.net.au> (raw)

Hi,

I know that if you have a trigger and function then drop/replace the 
function the trigger needs
to be drop/replaced too so that it can see the new function.

Is it the same for Ref. Integ. on table's too ?

If table B's foreign key references table A and you drop/replace table A
then the reference from table B to table A is broken and needs to be 
recreated ?

Hope I explained that OK.

Thanks
Rudi.






view thread (3+ messages)  latest in thread

Message-ID: <3F0258B6.1040908@oasis.net.au>
Permalink:  ../3F0258B6.1040908@oasis.net.au/
Also on:    postgresql.org/message-id/3F0258B6.1040908@oasis.net.au

 · 

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: rudi@oasis.net.au
  Subject: Re: Break referential integrity.
  In-Reply-To: <3F0258B6.1040908@oasis.net.au>

* 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