ON DELETE RULE problem

From: "Nagib Abi Fadel" <nagib(dot)abi-fadel(at)usj(dot)edu(dot)lb>
To: "generalpost" <pgsql-general(at)postgresql(dot)org>
Subject: ON DELETE RULE problem
Date: 2004-02-24 12:46:01
Message-ID: 000f01c3fad4$2bd97c30$f664a8c0@nagib
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I need to run the following delete command on a view table1_v :
"
delete from table1_v where table1_var1=$table1_var1 and table1_var2 not in (select t2.id from table2_v t2,table3_v t3
where t3.vers_id=t2.vers_id and t3.var3=$var3);
"
I have not been able to figure out how to create the corresponding rule.

can anyone help.

thx.

Browse pgsql-general by date

  From Date Subject
Next Message sferriol 2004-02-24 16:29:44 dynamic views
Previous Message Paul Simpson 2004-02-24 12:09:18 Re: Why does app fail?