[HACKERS] About a message when pg_ctl -w start failed

2008-08-21 Thread Tatsuhito Kasahara
Hi. When we perform pg_ctl -w start, postgres try to connect to postgres-database until timeout. If a user who perform pg_ctl -w start does not have authority to connect postgres-database, pg_ctl will return 1 and show could not start server message. But, in fact server is already starting.

Re: [HACKERS] About a message when pg_ctl -w start failed

2008-08-21 Thread Tom Lane
Tatsuhito Kasahara [EMAIL PROTECTED] writes: If a user who perform pg_ctl -w start does not have authority to connect postgres-database, pg_ctl will return 1 and show could not start server message. pg_ctl is already set up to recognize bad-password errors as meaning the postmaster is up.

Re: [HACKERS] About a message when pg_ctl -w start failed

2008-08-21 Thread Tatsuhito Kasahara
Hi, thanks for your reply. Tom Lane wrote: If a user who perform pg_ctl -w start does not have authority to connect postgres-database, pg_ctl will return 1 and show could not start server message. You didn't say what auth method you are using The problem that I showed occurs in following