Hi developers!

I have just filed ticket #167 concerning missing RULEs with VIEWs.
On a related but less important note: the formatting of rules might be improved if was done like triggers are:

-- status quo
CREATE OR REPLACE RULE on_delete AS
    ON DELETE TO test DO INSTEAD  DELETE FROM test2
  WHERE test2.id = old.id;

-- proposal
CREATE OR REPLACE RULE on_delete AS
  ON DELETE
  TO test
  DO INSTEAD
  DELETE FROM test2
   WHERE test2.id = old.id;

Regards
Erwin

--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to