[PATCHES] WIP: executor_hook for pg_stat_statements

2008-06-22 Thread ITAGAKI Takahiro
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 devel

Re: [PATCHES] Simplify formatting.c

2008-06-22 Thread Bruce Momjian
Bruce Momjian wrote: > > Actually it seems like the hard part is not so much the input > > representation as the output representation --- what should the > > base-level initcap routine return, to be reasonably efficient for > > both cases? > > I hadn't gotten to trying it out yet, but I can see t

[PATCHES] A GUC variable to replace PGBE_ACTIVITY_SIZE

2008-06-22 Thread Thomas Lee
Attached is a patch providing a new GUC variable called "track_activity_query_size", as previously discussed on pgsql-hackers here: http://archives.postgresql.org/pgsql-hackers/2008-06/msg00814.php This is my first patch for postgres, so I'm sure it may need some love. In particular: * Shoul