[luau] Postgres Question on RH9
Vince Hoang
luau at ml.altern8.net
Tue Jul 1 22:23:01 PDT 2003
On Wed, Jul 02, 2003 at 04:13:30PM +0900, John Johnson wrote:
> Does anyone have the time to explain to a newbie how to get
> it so that whatever is getting started with respect to the
> postmaster no longer gets started as well has how to go about
> properly starting the postmaster with the options below:
> /usr/bin/pg_ctl start -l logfile -D /www/db -i
Can I first ask why you have those options? A directory named
/www implies that is your htdoc root. Having your raw database
files available via a web server is neither necessary nor safe.
Also, you want to avoid having PG listen on a tcp socket if
possible. PHP should be smart enough to look for the PG unix
socket rather an a tcp socket.
-Vince
More information about the LUAU
mailing list