Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3C5E11337B55 for ; Fri, 26 Nov 2010 16:31:03 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 25426-03-7 for ; Fri, 26 Nov 2010 20:30:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 002B8133798E for ; Fri, 26 Nov 2010 16:30:54 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oAQKUnZY015855; Fri, 26 Nov 2010 15:30:49 -0500 (EST) To: Bruce Momjian cc: Fujii Masao , Magnus Hagander , Ashesh Vashi , Mark Llewellyn , pgsql-hackers@postgresql.org, Sujeet Rajguru Subject: Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running In-reply-to: <201011261919.oAQJJp504942@momjian.us> References: <201011261919.oAQJJp504942@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 26 Nov 2010 14:19:51 -0500" Date: Fri, 26 Nov 2010 15:30:49 -0500 Message-ID: <15854.1290803449@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/1808 X-Sequence-Number: 174951 Bruce Momjian 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