Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 220FA1DACBC2 for ; Wed, 4 Jan 2012 12:36:48 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RiTpT-0006EX-I6 for pgsql-bugs@postgresql.org; Wed, 04 Jan 2012 16:36:47 +0000 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 q04GaTRX016060; Wed, 4 Jan 2012 11:36:29 -0500 (EST) To: bock@openit.de cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6378: exceeding memory usage while creating index in pg-9.1.2 In-reply-to: References: Comments: In-reply-to bock@openit.de message dated "Wed, 04 Jan 2012 13:35:28 +0000" Date: Wed, 04 Jan 2012 11:36:29 -0500 Message-ID: <16059.1325694989@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -3.8 (---) X-Archive-Number: 201201/20 X-Sequence-Number: 32087 bock@openit.de writes: > When creating an index on an inet column the postmaster process tries to > allocate much more memory than it should in version 9.1.2. Yeah, a memory leak was accidentally introduced into inet/cidr index operations in 9.1.2. It will be fixed in 9.1.3, or if you're in a hurry the patch is here: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=6cf639dfbddbc44d027730ad1504886312bc905a regards, tom lane