Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id DBA61635045 for ; Wed, 13 May 2009 15:44:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 29350-01-2 for ; Wed, 13 May 2009 15:44:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by mail.postgresql.org (Postfix) with SMTP id AF071635977 for ; Wed, 13 May 2009 15:36:30 -0300 (ADT) Received: from source ([74.125.78.26]) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKSgsTLSbDIRGKg94OADyvc0UY9cStrSUa@postini.com; Wed, 13 May 2009 11:36:30 PDT Received: by ey-out-2122.google.com with SMTP id d26so196851eyd.23 for ; Wed, 13 May 2009 11:36:28 -0700 (PDT) Received: by 10.210.59.14 with SMTP id h14mr1171762eba.48.1242239788650; Wed, 13 May 2009 11:36:28 -0700 (PDT) Received: from ?80.223.212.7? (dsl-hkibrasgw2-fed4df00-7.dhcp.inet.fi [80.223.212.7]) by mx.google.com with ESMTPS id 23sm485291eya.39.2009.05.13.11.36.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 May 2009 11:36:28 -0700 (PDT) Message-ID: <4A0B1329.5020206@enterprisedb.com> Date: Wed, 13 May 2009 21:36:25 +0300 From: Heikki Linnakangas Organization: EnterpriseDB User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Simon Riggs CC: Tom Lane , Fujii Masao , Guillaume Smet , Peter Eisentraut , Kevin Grittner , pgsql-hackers Subject: Re: New trigger option of pg_standby References: <3f0b79eb0903242329j12865d55s348f5c873a956e71@mail.gmail.com> <1239381103.16396.30.camel@ebony.2ndQuadrant> <3f0b79eb0904122252t1f4c5860v919d199f399ccf72@mail.gmail.com> <3f0b79eb0904132241p18084914g792cb8e5ab3eebb3@mail.gmail.com> <3f0b79eb0904150101pb1c59a3ubb422867e8e6a944@mail.gmail.com> <49EE1E3F.9050307@enterprisedb.com> <3f0b79eb0904212209i7fbd8b68k71db1fef09c62751@mail.gmail.com> <49F01D79.8020805@enterprisedb.com> <3f0b79eb0904230515p751b5248n6ef96880617db055@mail.gmail.com> <4A095A39.3030100@enterprisedb.com> <3f0b79eb0905130127u3a3275b1w79f4d8cb729ded36@mail.gmail.com> <4A0A86D2.9080602@enterprisedb.com> <1985.1242234105@sss.pgh.pa.us> <1242237523.3843.461.camel@ebony.2ndQuadrant> In-Reply-To: <1242237523.3843.461.camel@ebony.2ndQuadrant> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200905/583 X-Sequence-Number: 138125 Simon Riggs wrote: > On Wed, 2009-05-13 at 13:01 -0400, Tom Lane wrote: >> Heikki Linnakangas writes: >>> Does someone want to take a stab at writing a patch for that? > > No, not if there is a likelihood the work would be wasted. There always is. (I would've wrote the patch myself right away, but I'm extremely busy at the moment. :-( Might take one more day before I get the time to finish it, and we don't have much time) >> Does this conclusion mean that changing pg_standby is no longer >> on the table for 8.4? It certainly smells more like a new feature >> than a bug fix. > > I don't really understand this comment. Why would fixing a memory leak > be worthwhile when fixing a potential for data loss be a deferrable > activity? Because the data loss is working as designed and documented, even though the design is not what most people want and the documentation could say that more prominently. That said, I'm in favor of changing this for 8.4. > I will set-up pg_standby as an external module and we can change it from > there. No more discussions-for-8.4 and I can update as required to > support each release. So let's just remove it from contrib and be done. > Counterthoughts? That's a lot more drastic change to make in beta. Besides, the proposed fix required backend changes. I think we should keep it in contrib. (At least for this release: If we get more integrated replication options in 8.5, that would be a good time to move pg_standby out of contrib if that's what we want.) -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com