Re: Problem with tcp/ip connection, postgresql.conf - Mailing list pgsql-admin

From Nick Fankhauser
Subject Re: Problem with tcp/ip connection, postgresql.conf
Date
Msg-id NEBBLAAHGLEEPCGOBHDGMEANHJAA.nickf@ontko.com
Whole thread Raw
In response to Re: Problem with tcp/ip connection, postgresql.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
> 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?

I agree that there should at least be a warning if the file is not found.
Ironically, the problem in this case turned out to be the permissions, so
apparently the existing warning didn't clue one person into what was
happening until I made the suggestion about permissions more explicitly.

-Nick


pgsql-admin by date:

Previous
From: "Mendola Gaetano"
Date:
Subject: Re: DUMPall PG7.1.3 restore to PG7.3.2
Next
From: "Mendola Gaetano"
Date:
Subject: Re: Diagnose Database Corruption