Re: Bug or ? - Mailing list pgsql-general

From Tom Lane
Subject Re: Bug or ?
Date
Msg-id 13090.1125967873@sss.pgh.pa.us
Whole thread Raw
In response to Bug or ?  (Keary Suska <hierophant@pcisys.net>)
Responses Re: Bug or ?
List pgsql-general
Keary Suska <hierophant@pcisys.net> writes:
> FYI, it appears that you cannot start the postmaster when your current
> working directory is not accessible by the postgres user:

Is there a good reason that this case should work?  I don't think it's
very easy to fix given that we have to resolve the actual location
of the postmaster executable before we chdir to the data directory.
In any case, AFAICS this would only be an issue if you do
"su postgres -c postmaster" rather than "su -l postgres -c postmaster"
and the former is to be avoided for many reasons besides this one.

            regards, tom lane

pgsql-general by date:

Previous
From: "Sergey E. Koposov"
Date:
Subject: Re: Setting up a database for 10000 concurrent users
Next
From: Tom Lane
Date:
Subject: Re: Setting up a database for 10000 concurrent users