ON DELETE RULE problem - Mailing list pgsql-general

From Nagib Abi Fadel
Subject ON DELETE RULE problem
Date
Msg-id 000f01c3fad4$2bd97c30$f664a8c0@nagib
Whole thread Raw
List 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.
 
 
 

pgsql-general by date:

Previous
From: "Paul Simpson"
Date:
Subject: Re: Why does app fail?
Next
From: "Ed L."
Date:
Subject: Re: Found this in the server log on MAC OSX