Noah Misch <n...@leadboat.com> writes: > wrapper function. A backend change that would help here is to extend event > triggers to cover the CLUSTER command, permitting you to inject monitoring > after plain CLUSTER and dispense with the wrapper.
I didn't look in any level of details, but it might be as simple as moving the T_ClusterStmt case from standard_ProcessUtility() down to the Event Trigger friendly part known as ProcessUtilitySlow(). Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers