Skip site navigation (1) Skip section navigation (2)

Re: About a message when "pg_ctl -w start" failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuhito Kasahara <kasahara(dot)tatsuhito(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: About a message when "pg_ctl -w start" failed
Date: 2008-08-21 14:08:33
Message-ID: 23122.1219327713@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tatsuhito Kasahara <kasahara(dot)tatsuhito(at)oss(dot)ntt(dot)co(dot)jp> 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.  You didn't say what auth method you are using, but
I'd think the right fix is to make it recognize other types of
authentication failures as well.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-08-21 14:15:36
Subject: Re: Questions about HeapTupleHeaderData
Previous:From: Alvaro HerreraDate: 2008-08-21 13:02:03
Subject: Re: A smaller default postgresql.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group