pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Linh Luong <linh.luong@computalog.com>
To: pgsql-sql@postgresql.org
Subject: Cascade constraint gone!!!
Date: Wed, 06 Jun 2001 10:34:32 -0600
Message-ID: <3B1E5B98.7A694F2@computalog.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <3B1E5B98.7A694F2@computalog.com>
Permalink:  ../3B1E5B98.7A694F2@computalog.com/
Also on:    postgresql.org/message-id/3B1E5B98.7A694F2@computalog.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: linh.luong@computalog.com
  Subject: Re: Cascade constraint gone!!!
  In-Reply-To: <3B1E5B98.7A694F2@computalog.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox