... - Mailing list pgsql-novice

From Zeller, Raymond
Subject ...
Date
Msg-id 8FDC0F9BE1F91D44BE964AA54AAA67B601173FE0@wilmexm3.ad.analog.com
Whole thread Raw
List pgsql-novice
How can I add an on delete cascade trigger  to an existing table column?
The help seems to say that alter table could be used something like:
 
ALTER TABLE test ADD ON COLUMN "id" ON DELETE CASCADE;
 
Except I don't want to add an id column, it already exists with on update
cascade trigger. I just want it to delete itself when its referencing id disappears.
 
thanks,
Ray Zeller 

pgsql-novice by date:

Previous
From: Chris Smith
Date:
Subject: Re: Describe a table
Next
From: Rory Campbell-Lange
Date:
Subject: Re: return column id from insert