Re: on update, how to change the value?

From: Richard Huxton <dev(at)archonet(dot)com>
To: A B <gentosaker(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: on update, how to change the value?
Date: 2008-02-28 09:53:26
Message-ID: 47C68496.5060103@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A B wrote:
> Hi.
> If I have table A (x integer primary key);
> and table B (y integer references A on delete cascade );

> There is an "on update" option to the create table command, but I can't
> find out if that will help me. The docs are unfortunatly a little short on
> describing the "on update" option.
>
> Will "on update cascade" propagate the update to the B table?

Yes.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2008-02-28 10:01:13 Re: dbi_link and dbi:ODBC
Previous Message Ivan Zolotukhin 2008-02-28 09:47:45 debug nonstandard use of \\ in a string literal