pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: beyaRecords - The home Urban music <uzo@beya-records.com>
To: pgsql-sql@postgresql.org
Subject: Mechanics of Update:Cascade
Date: Sat, 31 Jan 2004 10:50:03 +0000
Message-ID: <3968B922-53DB-11D8-A6EB-0003938366A4@beya-records.com> (raw)

Hi,
could someone please explain to me the mechanics of an UpDate:Cascade? 
Delete:Cascade I fully understand but not Update. I have 2 tables A and 
B. On B I have created a foreign key on user_id in both B and A for 
Update and Delete cascade. If I delete from A it deletes all from B. If 
I update A what happens in B?

many thanks




view thread (4+ messages)  latest in thread

Message-ID: <3968B922-53DB-11D8-A6EB-0003938366A4@beya-records.com>
Permalink:  ../3968B922-53DB-11D8-A6EB-0003938366A4@beya-records.com/
Also on:    postgresql.org/message-id/3968B922-53DB-11D8-A6EB-0003938366A4@beya-records.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: uzo@beya-records.com
  Subject: Re: Mechanics of Update:Cascade
  In-Reply-To: <3968B922-53DB-11D8-A6EB-0003938366A4@beya-records.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