Re: on update, how to change the value? - Mailing list pgsql-general

From Richard Huxton
Subject Re: on update, how to change the value?
Date
Msg-id 47C68496.5060103@archonet.com
Whole thread Raw
In response to on update, how to change the value?  ("A B" <gentosaker@gmail.com>)
List 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

pgsql-general by date:

Previous
From: "Ivan Zolotukhin"
Date:
Subject: debug nonstandard use of \\ in a string literal
Next
From: David Fetter
Date:
Subject: Re: dbi_link and dbi:ODBC