X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4F1959FA176 for ; Thu, 11 May 2006 12:51:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 31622-07 for ; Thu, 11 May 2006 12:51:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx1.surnet.cl (mx1.surnet.cl [216.155.73.180]) by postgresql.org (Postfix) with ESMTP id 7E7009F9430 for ; Thu, 11 May 2006 12:51:48 -0300 (ADT) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx1.surnet.cl with ESMTP; 11 May 2006 11:51:47 -0400 X-IronPort-AV: i="4.05,116,1146456000"; d="scan'208"; a="64389705:sNHT25224560" Received: from alvh.no-ip.org (201.220.122.210) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 443B7DDC0043EFFA; Thu, 11 May 2006 11:51:46 -0400 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 7E7E9C3736D; Thu, 11 May 2006 11:51:46 -0400 (CLT) Date: Thu, 11 May 2006 11:51:46 -0400 From: Alvaro Herrera To: "Crowson, Sarah J Ms (Contractor) Northrop Grumman" Cc: "'pgsql-admin@postgresql.org'" Subject: Re: Fatal: 2149478 (UNCLASSIFIED) Message-ID: <20060511155146.GE9051@surnet.cl> Mail-Followup-To: "Crowson, Sarah J Ms (Contractor) Northrop Grumman" , "'pgsql-admin@postgresql.org'" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/143 X-Sequence-Number: 21675 Crowson, Sarah J Ms (Contractor) Northrop Grumman wrote: > I am trying to set up my postgresql.conf file for Postgres 8.1. I am > setting up the maintenance_work_mem (this has also happened with the > work_mem) and I receive this error: > Fatal: 2149478 is outside the valid range for parameter > "maintenance_work_mem" ............ Valid values for that parameter is INT_MAX / 1024. INT_MAX is defined here as $ grep 'define.* INT_MAX' /usr/include/limits.h # define INT_MAX 2147483647 So that puts the maximum at 2097151, which you are exceeding. This assume your platform is similar to mine (size_t == 4 bytes). $ dc 2147483647 1024 / p 2097151 Note the size is measured in kilobytes. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.