pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Ashesh Vashi <ashesh.vashi@enterprisedb.com>
Cc: Mark Llewellyn <mark_llewellyn@adp.com>
Cc: pgsql-hackers@postgresql.org
Cc: Sujeet Rajguru <sujeet.rajguru@enterprisedb.com>
Subject: Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running
Date: Fri, 26 Nov 2010 15:30:49 -0500
Message-ID: <15854.1290803449@sss.pgh.pa.us> (raw)
In-Reply-To: <201011261919.oAQJJp504942@momjian.us>
References: <201011261919.oAQJJp504942@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> Fujii Masao wrote:
>> I agree to treat the receipt of password request from the server as success
>> of the server starting. But I don't think that we should treat other rejection
>> cases that way and change the existing behavior.

> OK, that is easy to fix.

It's wrong though.  If you get back a "password rejected" error, or most
other types of errors, it still indicates that the server started.
We just went over this a few days ago.

> The only downside is that if you misconfigured
> .pgpass (which is what I used for testing), you have to wait 60 seconds
> to get the "cannot connect" error message.  Is that OK?

No; it's useless and unnecessary behavior.

			regards, tom lane



view thread (43+ messages)  latest in thread

Message-ID: <15854.1290803449@sss.pgh.pa.us>
Permalink:  ../15854.1290803449@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15854.1290803449@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, masao.fujii@gmail.com, magnus@hagander.net, ashesh.vashi@enterprisedb.com, mark_llewellyn@adp.com, pgsql-hackers@postgresql.org, sujeet.rajguru@enterprisedb.com
  Subject: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running
  In-Reply-To: <15854.1290803449@sss.pgh.pa.us>
  References: <201011261919.oAQJJp504942@momjian.us> <15854.1290803449@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox