Re: stored procs

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: "J(dot)V(dot)" <jvsrvcs(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: stored procs
Date: 2011-09-30 10:05:22
Message-ID: CAF-3MvPgDxHtbG3Y5D69dxa4NZ6XkMrDAckOGoCE_bairg200Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 30 September 2011 11:20, J.V. <jvsrvcs(at)gmail(dot)com> wrote:
> For tables that already exist and have a foreign key relationship, is there
> an equivalent alter statement for the statement below?
>
> Does this mean that if table xxx.id primary key value changes, the foreign
> key value will change as well?

They do if you tell them to CASCADE on UPDATE.

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2011-09-30 10:16:29 Re: stored procedures (packages)
Previous Message J.V. 2011-09-30 09:20:35 Re: stored procs