Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?


   Richard Huxton
   Archonet Ltd

In response to

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group