Re: [HACKERS] get_relation_stats_hook() - Mailing list pgsql-patches

From Simon Riggs
Subject Re: [HACKERS] get_relation_stats_hook()
Date
Msg-id 1222440740.4445.966.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: [HACKERS] get_relation_stats_hook()  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: [HACKERS] get_relation_stats_hook()
List pgsql-patches
On Wed, 2008-08-06 at 23:38 +0100, Simon Riggs wrote:
> 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.

New version of Postgres patch, v5. Implements suggested changes.
Ready for review and apply.

New version of stats plugin, v3. Works with v5.
Corrected problems:
* now loads using preload_shared_libraries as well as LOAD
* example test script fix

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

Attachment

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Infrastructure changes for recovery
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Infrastructure changes for recovery