X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id BF5E89DD570 for ; Wed, 7 Dec 2005 15:27:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30265-04 for ; Wed, 7 Dec 2005 15:27:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 432D49DD552 for ; Wed, 7 Dec 2005 15:27:09 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jB7JR70D002381; Wed, 7 Dec 2005 14:27:07 -0500 (EST) To: "Anne M. Hammond" cc: pgsql-admin@postgresql.org, pandurangan.r.s@gmail.com Subject: Re: initdb fails In-reply-to: <200512071804.jB7I4OUd000843@lcd.colorado.edu> References: <200512071804.jB7I4OUd000843@lcd.colorado.edu> Comments: In-reply-to "Anne M. Hammond" message dated "Wed, 07 Dec 2005 11:04:24 -0700" Date: Wed, 07 Dec 2005 14:27:07 -0500 Message-ID: <2380.1133983627@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[AWL=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200512/55 X-Sequence-Number: 19775 "Anne M. Hammond" writes: > However, when the server SHMMAX is smaller than the size required > by the defaults for shared_buffers and max_connections, I have > not been able to find a way (other than the above), to tell > initdb to use a nondefault values. Well, initdb is just a shell script in 7.4, so it's not that hard to edit it to try even-smaller values for max_connections and/or shared_buffers. I stand by my comment that performance is going to suck though, and you may even run into "out of buffers" failures. regards, tom lane