Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 57D641337BDB for ; Tue, 21 Dec 2010 22:48:46 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 32065-10 for ; Wed, 22 Dec 2010 02:48:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 19B5D1337990 for ; Tue, 21 Dec 2010 22:48:38 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oBM2mYsX010647; Tue, 21 Dec 2010 21:48:34 -0500 (EST) To: Fujii Masao cc: Tatsuhito Kasahara , pgsql-bugs@postgresql.org Subject: Re: memory leaks? using savepoint In-reply-to: References: <4D09BB92.6080309@oss.ntt.co.jp> <15534.1292538442@sss.pgh.pa.us> Comments: In-reply-to Fujii Masao message dated "Wed, 22 Dec 2010 11:26:26 +0900" Date: Tue, 21 Dec 2010 21:48:33 -0500 Message-ID: <10646.1292986113@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/159 X-Sequence-Number: 28965 Fujii Masao writes: > The proposed patch looks very simple. I don't think that applying that > patch will cause serious risk. Maybe so, maybe not, but *it won't get tested* to any meaningful degree if it's applied. > Unless the bug is fixed, the users who encountered the memory-leak > cannot update their postgres to the latest version of 8.3. This would > cause more serious situation. And, since psqlODBC frequently issues > SAVEPONT and RELEASE SAVEPOINT, this memory-leak is not rare case, > I think. The code's been like that for two years, and nobody's complained before now, so it doesn't seem to me to be all that urgent. Furthermore, the people you are speaking of likely wouldn't upgrade anyway if they haven't done so before now... regards, tom lane