Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 590F81EE3E7F for ; Mon, 12 Dec 2011 15:53:06 -0400 (AST) Received: from mail-out1.uio.no ([2001:700:100:10::57]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RaBvr-0008E5-VI for pgsql-committers@postgresql.org; Mon, 12 Dec 2011 19:53:06 +0000 Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out1.uio.no with esmtp (Exim 4.75) (envelope-from ) id 1RaBvf-0000Gk-6A; Mon, 12 Dec 2011 20:52:51 +0100 Received: from 84.122.25.226.dyn.user.ono.com ([84.122.25.226] helo=[10.2.2.101]) by mail-mx2.uio.no with esmtpsa (TLSv1:CAMELLIA256-SHA:256) user rafael (Exim 4.76) (envelope-from ) id 1RaBve-0006r4-L6; Mon, 12 Dec 2011 20:52:51 +0100 Message-ID: <4EE65BA5.5050501@usit.uio.no> Date: Mon, 12 Dec 2011 20:53:09 +0100 From: Rafael Martinez User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: Andres Freund CC: Tom Lane , pgsql-committers@postgresql.org, Heikki Linnakangas , r.m.guerrero@usit.uio.no 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> In-Reply-To: <201112121955.36976.andres@anarazel.de> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-UiO-Ratelimit-Test: rcpts/h 8 msgs/h 2 sum rcpts/h 8 sum msgs/h 2 total rcpts 3430 max rcpts/h 19 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-8.0, required=5.0, autolearn=disabled, TVD_RCVD_IP=0.001, UIO_MAIL_IS_INTERNAL=-5, UIO_PGP_SIGNED=-3, uiobl=NO, uiouri=NO) X-UiO-Scanned: BE227FE43AA9D4CC443483D155382EBC4C3E6CA3 X-UiO-SPAM-Test: remote_host: 84.122.25.226 spam_score: -79 maxlevel 80 minaction 1 bait 0 mail/h: 2 total 172 max/h 4 blacklist 0 greylist 0 ratelimit 0 X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201112/94 X-Sequence-Number: 46857 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. A simple create index on an inet column almost crashed our production server and everything got very unresponsive for a while. The process running the create index grew to over 24GB in a matter of a few minuttes. We managed to kill the process at the last moment before going empty for cached memory and swap. regards, - -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7mW50ACgkQBhuKQurGihTm8QCgmgIa8GVXfmLDjX68Gu460vZz yuoAn2grjPPxcyBsVzetxpXJmnK9I0qE =07YX -----END PGP SIGNATURE-----