Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 728602DF891 for ; Tue, 13 Dec 2011 04:59:12 -0400 (AST) Received: from exprod7og122.obsmtp.com ([64.18.2.22]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RaOCd-0007ID-QQ for pgsql-committers@postgresql.org; Tue, 13 Dec 2011 08:59:12 +0000 Received: from mail-ee0-f50.google.com ([74.125.83.50]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKTucT0gv18LTeneCYAfzsygOvHGF1VKEc@postini.com; Tue, 13 Dec 2011 00:59:11 PST Received: by mail-ee0-f50.google.com with SMTP id e53so3404182eek.37 for ; Tue, 13 Dec 2011 00:58:58 -0800 (PST) Received: by 10.14.9.201 with SMTP id 49mr3800170eet.199.1323766737222; Tue, 13 Dec 2011 00:58:57 -0800 (PST) Received: from [192.168.1.101] (dsl-hkibrasgw2-ff6cc300-200.dhcp.inet.fi. [88.195.108.200]) by mx.google.com with ESMTPS id z54sm86616998eeh.5.2011.12.13.00.58.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Dec 2011 00:58:56 -0800 (PST) Message-ID: <4EE713C8.5080207@enterprisedb.com> Date: Tue, 13 Dec 2011 10:58:48 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: Rafael Martinez CC: Andres Freund , Tom Lane , pgsql-committers@postgresql.org, Heikki Linnakangas Subject: Re: pgsql: Revert the behavior of inet/cidr functions to not unpack the arg References: <201112121937.14928.andres@anarazel.de> <23066.1323715681@sss.pgh.pa.us> <201112121955.36976.andres@anarazel.de> <4EE65BA5.5050501@usit.uio.no> In-Reply-To: <4EE65BA5.5050501@usit.uio.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201112/95 X-Sequence-Number: 46858 On 12.12.2011 21:53, Rafael Martinez wrote: > On 12/12/2011 07:55 PM, Andres Freund wrote: >> On Monday, December 12, 2011 07:48:01 PM Tom Lane wrote: >>> Andres Freund writes: >>>> On Monday, December 12, 2011 09:29:23 AM Heikki Linnakangas wrote: >>>>> Revert the behavior of inet/cidr functions to not unpack the arguments. >>>> >>>> Whats the plan to handle this wrt a stable release? >>> >>> I was wondering whether we shouldn't revert the original patch >>> altogether in the back branches. As far as I'd heard, there were >>> no reports of the previous coding causing real trouble, and this >>> episode demonstrates that there is a possibility to make things >>> worse rather than better. I think maybe we'd better treat this >>> change as something to make in HEAD only. >> >> +1 > > +1 > > This is a bug that really qualifies for an early 9.1.3. Fair enough, but that is a different issue from whether the original patch should be reverted altogether. The memory leak has been fixed now, in any case. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com