This may have already been discussed before, but I can't find anymention of it. Would it be desirable to add support for triggers thatcontain their own anonymous functions (i.e. DO)?
So instead of
CREATE TRIGGER...EXECUTE PROCEDURE functioname();
CREATE TRIGGER...DO $$...$$;
The purpose being to only have a single statement to set up thetrigger rather than setting up a separate trigger function which willunlikely be re-used by other triggers... or is this of dubiousbenefit?