From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: WIP: executor_hook for pg_stat_statements |
Date: | 2008-07-04 08:44:25 |
Message-ID: | 1215161065.4051.26.camel@ebony.site |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Mon, 2008-06-23 at 15:22 +0900, ITAGAKI Takahiro wrote:
> I'm working on light-weight SQL logging for PostgreSQL.
> http://archives.postgresql.org/pgsql-hackers/2008-06/msg00601.php
>
> I divide the SQL logging feature into a core patch and an extension module.
> I hope only the patch is to be applied in the core. The extension module
> would be better to be developed separately from the core.
>
>
> The attached patch (executor_hook.patch) modifies HEAD as follows.
>
> - Add "tag" field (uint32) into PlannedStmt.
> - Add executor_hook to replace ExecutePlan().
> - Move ExecutePlan() to a global function.
The executor_hook.patch is fairly trivial and I see no errors.
The logic of including such a patch is clear. If we have a planner hook
then we should also have an executor hook.
Will you be completing the plugin for use in contrib?
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2008-07-04 08:51:03 | Re: A Windows x64 port of PostgreSQL |
Previous Message | Teodor Sigaev | 2008-07-04 08:41:26 | Re: [PATCHES] Multi-column GIN |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavan Deolasee | 2008-07-04 08:50:12 | Re: page macros cleanup |
Previous Message | Teodor Sigaev | 2008-07-04 08:41:26 | Re: [PATCHES] Multi-column GIN |