Search Postgresql Archives

Re: on update, how to change the value?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux