Re: [PATCH] Statistics collection for CLUSTER command - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: [PATCH] Statistics collection for CLUSTER command
Date
Msg-id m2ppqzu2si.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: [PATCH] Statistics collection for CLUSTER command  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
Noah Misch <noah@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



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Commitfest II CLosed
Next
From: Noah Misch
Date:
Subject: Re: proposal: lob conversion functionality