Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: WIP: execut...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3816 of 4084
Post > Topic >>

Re: WIP: executor_hook for pg_stat_statements

by simon@[EMAIL PROTECTED] (Simon Riggs) Jul 4, 2008 at 09:44 AM

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 Sup****t


-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 2 Posts in Topic:
WIP: executor_hook for pg_stat_statements
itagaki.takahiro@[EMAIL P  2008-06-23 15:22:57 
Re: WIP: executor_hook for pg_stat_statements
simon@[EMAIL PROTECTED]   2008-07-04 09:44:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 6:14:00 CDT 2008.