Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E0CA364FC04 for ; Mon, 22 Sep 2008 15:18:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 70155-01 for ; Mon, 22 Sep 2008 15:18:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail129143.authsmtp.com (outmail129143.authsmtp.com [62.13.129.143]) by postgresql.org (Postfix) with ESMTP id BB6F864FC15 for ; Mon, 22 Sep 2008 15:18:14 -0300 (ADT) Received: from punt9.authsmtp.com (punt9.authsmtp.com [62.13.128.70]) by punt2.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m8MIICMf037592 for ; Mon, 22 Sep 2008 19:18:12 +0100 (BST) Received: from mail-c189.authsmtp.com (mail-c189.authsmtp.com [62.13.128.71]) by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m8MIICxr012620; Mon, 22 Sep 2008 19:18:12 +0100 (BST) Received: from [192.168.0.3] (85-211-71-126.dyn.gotadsl.co.uk [85.211.71.126]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m8MIIAkd057970; Mon, 22 Sep 2008 19:18:10 +0100 (BST) Subject: Re: get_relation_stats_hook() From: Simon Riggs To: Gregory Stark Cc: Postgres In-Reply-To: <87fxnsoz6r.fsf@oxford.xeocode.com> References: <1218062303.4549.302.camel@ebony.2ndQuadrant> <87fxnsoz6r.fsf@oxford.xeocode.com> Content-Type: text/plain Date: Mon, 22 Sep 2008 19:19:02 +0100 Message-Id: <1222107542.4445.226.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Server-Quench: d06ddc45-88d2-11dd-bc7a-001f29070be2 X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFagdbflxB HGQLW1xEUVR7WGt/ agsfZQBDYEtPQQJr TklLRE1QEQdtHhxP WxZjK2ADLFFGfXl5 YkYsV3NbEhB6cxIp EUpRCGUOMWV9aWFL BF0KJAQFbQNKf0lH Y1B4VCFYYytlM3Bw LC8aFBMcBw5qYCtY XjYXIFYbXUcMGAkn WxkeBgIvGkoGB2Rb X-Authentic-SMTP: 61633235383639.kestrel.dmpriest.net.uk:1374/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/1438 X-Sequence-Number: 124567 On Mon, 2008-09-22 at 18:41 +0100, Gregory Stark wrote: > The easiest way to fix this seems like also the best way, instead of storing a > boolean store the pointer to the release function. OK, I like that better anyhow. Hadn't thought about turning plugin off, but I can see the requirement now your raise it. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support