Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-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 
 PostgreSQL Training, Services and Support

Attachment: stat_hooks.v4.patch
Description: text/x-patch (9.5 KB)
Attachment: TOM.v2.tar
Description: application/x-tar (6.0 KB)

In response to


pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group