pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Problem with tcp/ip connection, postgresql.conf
Date: Mon, 23 Jun 2003 00:23:44 -0400 (EDT)
Message-ID: <200306230423.h5N4Ni324624@candle.pha.pa.us> (raw)
In-Reply-To: <1055173106.29944.393.camel@camel>


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



view thread (6+ messages)

Message-ID: <200306230423.h5N4Ni324624@candle.pha.pa.us>
Permalink:  ../200306230423.h5N4Ni324624@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200306230423.h5N4Ni324624@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, xzilla@users.sourceforge.net, tgl@sss.pgh.pa.us
  Subject: Re: Problem with tcp/ip connection, postgresql.conf
  In-Reply-To: <200306230423.h5N4Ni324624@candle.pha.pa.us>
  References: <1055173106.29944.393.camel@camel> <200306230423.h5N4Ni324624@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox