Hi,
This may have already been discussed before, but I can't find any
mention of it. Would it be desirable to add support for triggers that
contain their own anonymous functions (i.e. DO)?
So instead of
CREATE TRIGGER...
EXECUTE PROCEDURE functioname();
you'd have:
CREATE TRIGGER...
DO $$
...
$$;
The purpose being to only have a single statement to set up the
trigger rather than setting up a separate trigger function which will
unlikely be re-used by other triggers... or is this of dubious
benefit?
--
Thom