Reference integrity question - Mailing list pgsql-sql

From Evgen Potemkin
Subject Reference integrity question
Date
Msg-id Pine.LNX.4.33.0212271659220.19571-100000@ns.terminal.ru
Whole thread Raw
Responses Re: Reference integrity question  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
Good time of day!

I have two tables news(newsid int4, newscltid int4 references clt(cltid) match full,newstext text)
and clt(cltid int4, somedata text).
after clt is renamed , for ex. to clt_old, newscltid start to reference to clt_old.cltid. i'm create new table
clt(cltidint4, anotherdata text);
 

is there any way to make newscltid reference to newly created clt, beside
recreation of news ?

thank in advance,

---
.evgen





pgsql-sql by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Execution Plans and Casts
Next
From: scottrarndt@aol.com (ScottRArndt)
Date:
Subject: Re: Stuck on SQL Query where a calculated value is used for a join.