Re: [HACKERS] get_relation_stats_hook()

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, List pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] get_relation_stats_hook()
Date: 2008-08-06 22:38:23
Message-ID: 1218062303.4549.302.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


On Wed, 2008-08-06 at 16:37 +0100, Simon Riggs wrote:

> I'll submit the fully working plugin once we've stabilised the API. It's
> designed as a contrib module, so it can go in pgfoundry or contrib.

OK, here's fully working plugin, plus API patch.

I expect to open a pgfoundry project for the plugin, but will wait for
the main patch review.

I've tried the APIs three different ways and this seems cleanest and
most widely applicable approach. It's possible to add calls in more
places, but I haven't done this for reasons discussed previously.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

Attachment Content-Type Size
stat_hooks.v4.patch text/x-patch 9.5 KB
TOM.v2.tar application/x-tar 6.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message KaiGai Kohei 2008-08-07 01:34:05 Re: Proposal of SE-PostgreSQL patches [try#2]
Previous Message Dimitri Fontaine 2008-08-06 19:52:26 Re: plan invalidation vs stored procedures

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2008-08-07 11:44:19 Infrastructure changes for recovery
Previous Message Simon Riggs 2008-08-06 22:32:02 Re: WIP: Transportable Optimizer Mode