X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 4B72030F5C0 for ; Mon, 23 Jun 2003 04:24:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 66097-07 for ; Mon, 23 Jun 2003 01:24:09 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id D03F830F5B1 for ; Mon, 23 Jun 2003 01:24:08 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h5N4Ni324624; Mon, 23 Jun 2003 00:23:44 -0400 (EDT) From: Bruce Momjian Message-Id: <200306230423.h5N4Ni324624@candle.pha.pa.us> Subject: Re: Problem with tcp/ip connection, postgresql.conf In-Reply-To: <1055173106.29944.393.camel@camel> To: Robert Treat Date: Mon, 23 Jun 2003 00:23:44 -0400 (EDT) Cc: Tom Lane , pgsql-admin X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200306/279 X-Sequence-Number: 9270 Add to TODO: * Exit postmaster if postgresql.conf can not be opened --------------------------------------------------------------------------- Robert Treat wrote: > On Sun, 2003-06-08 at 11:50, Tom Lane wrote: > > > > While experimenting with this, I noted that the postmaster will not > > complain if postgresql.conf is not found --- though it will complain if > > it finds the file but can't read it (eg permission failures). It seems > > to me this is a bug, or at any rate a bad idea. There should be at least > > a warning message if the postgresql.conf file isn't found, and quite > > possibly the postmaster should refuse to start at all, on the grounds > > that you may have pointed it to a a bogus data directory. > > > > Any opinions about this out there? > > > > IIRC this was going to be addressed in the "option to put config files > anywhere" patch. if not it should at least issue a warning. I'd > actually be in favor of explicit error/refusal to start if it didn't > seem so draconian. > > Robert Treat > -- > Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073