From: Rafael Martinez <r.m.guerrero@usit.uio.no>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Cc: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: r.m.guerrero@usit.uio.no
Subject: Re: pgsql: Revert the behavior of inet/cidr functions to not unpack the arg
Date: Mon, 12 Dec 2011 20:53:09 +0100
Message-ID: <4EE65BA5.5050501@usit.uio.no> (raw)
In-Reply-To: <201112121955.36976.andres@anarazel.de>
References: <E1Ra1GF-0004dt-0D@gemulon.postgresql.org>
<201112121937.14928.andres@anarazel.de>
<23066.1323715681@sss.pgh.pa.us>
<201112121955.36976.andres@anarazel.de>
-----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 <andres@anarazel.de> 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-----
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: r.m.guerrero@usit.uio.no, andres@anarazel.de, tgl@sss.pgh.pa.us, heikki.linnakangas@iki.fi
Subject: Re: pgsql: Revert the behavior of inet/cidr functions to not unpack the arg
In-Reply-To: <4EE65BA5.5050501@usit.uio.no>
References: <E1Ra1GF-0004dt-0D@gemulon.postgresql.org> <201112121937.14928.andres@anarazel.de> <23066.1323715681@sss.pgh.pa.us> <201112121955.36976.andres@anarazel.de> <4EE65BA5.5050501@usit.uio.no>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox