CREATE RULE "new_rule2" AS ON DELETE TO "public"."klients_view"
DO INSTEAD (
DELETE
FROM klients
WHERE (klients.klient_id = old.klient_id);
DELETE
FROM klient_services
WHERE (klient_services.klient_id = old.klient_id);
);
It's 2 commands, but executing only first. Why?
Stanislaw Tristan
Kyiv, Ukraine
E-mail: stas7775(at)i(dot)com(dot)ua