Thanks to visit codestin.com
Credit goes to postgrespro.com

Cascade constraint gone!!! - Mailing list pgsql-sql

From Linh Luong
Subject Cascade constraint gone!!!
Date
Msg-id [email protected]
Whole thread Raw
Responses Re: Cascade constraint gone!!!
List pgsql-sql
Hi,

I recently wipe my database away.  And some of the tables have a UPDATE
CASCADE on it to another table.  
When I reload the data from my backup that I did with pg_dumpall.  My
code started to give me an error because I tried to modify a table that
was reference from another table.  But the referenced table should have
an UPDATE CASCADE.  But according to the error it doesn't. 

Is there a way to add the ON UPDATE CASCADE back without dropping any
table again?

Thanks


-- 
Linh Luong


pgsql-sql by date:

Previous
From: Roberto Mello
Date:
Subject: Re: Tutorial : using foreign keys, retrictions etc
Next
From: [email protected] ([email protected])
Date:
Subject: maximum number of rows in table - what about oid limits?