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 7A2C4311A51 for ; Tue, 10 Jun 2003 08:42:03 +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 58792-05 for ; Tue, 10 Jun 2003 05:41:52 -0300 (ADT) Received: from localhost.localdomain (unknown [65.217.53.66]) by svr1.postgresql.org (Postfix) with ESMTP id F367A310A19 for ; Mon, 9 Jun 2003 15:38:28 +0000 (GMT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h59GVF4i014636; Mon, 9 Jun 2003 12:31:15 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h59FcRL20411; Mon, 9 Jun 2003 11:38:27 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M1ZDH7BB; Mon, 9 Jun 2003 11:38:25 -0400 Subject: Re: Problem with tcp/ip connection, postgresql.conf From: Robert Treat To: Tom Lane Cc: pgsql-admin In-Reply-To: <29741.1055087452@sss.pgh.pa.us> References: <29741.1055087452@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 09 Jun 2003 11:38:26 -0400 Message-Id: <1055173106.29944.393.camel@camel> Mime-Version: 1.0 X-Archive-Number: 200306/93 X-Sequence-Number: 9084 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