Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duL6O-0007sl-SR for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2017 16:10:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1duL6O-0003ea-Ey for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2017 16:10:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1duL6M-0003Zt-OB for pgsql-hackers@postgresql.org; Tue, 19 Sep 2017 16:10:22 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1duL6F-0001rS-6I for pgsql-hackers@postgresql.org; Tue, 19 Sep 2017 16:10:22 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 62C1A20D53; Tue, 19 Sep 2017 12:10:13 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 19 Sep 2017 12:10:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=32Pt2M3vEWMz4gUXFY pAF3B9n3XYyIMZack2J1if/HU=; b=g0778bvtyNFRccNKUkSsqxbWL4MUrUbkf1 3tj2WjrCQs4wkZYXhSoD5goAu55M5FG/IwHlwvZhO3H26bqbVFRE0y9RFcEa8HIC cUCvcuW1Is3Y/gkFXopYHjaf64grlOQm8jT4lghx8sM/yDuWBTQQyXZRpkxGTtMf soe6QVsOOcgjH8VDWbxMRyPjuXL2mHHcX5e2PKJai1OrOAkQy1IJoXhADdUX9GYh 8p4uyMbRctalIlPoucSRLwqpYffgsmE1KPc1kyXZcGX4B5AdM0h1dkETXAJMcEFw YaIbHGMm0v34KDVdJrNX4RZbf7YjA39lJzoQOmo9mBg6KfR0vquw== X-ME-Sender: X-Sasl-enc: EL9hHP67yBjwXxJzZ5MhRYtW5LOiT+GVt5PDPQ2mYYib 1505837413 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 16EEC7E8F0; Tue, 19 Sep 2017 12:10:13 -0400 (EDT) Date: Tue, 19 Sep 2017 09:10:12 -0700 From: Andres Freund To: Robert Haas Cc: Tom Lane , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup. Message-ID: <20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de> References: <20170916182634.blb7upixw7hosdhu@alap3.anarazel.de> <23456.1505586621@sss.pgh.pa.us> <20170916183849.kgqlyi3q2oy4qjkx@alap3.anarazel.de> <27204.1505591941@sss.pgh.pa.us> <20170916202705.lhszupzi3s4iaxy6@alap3.anarazel.de> <20170917080752.rcmihzfmgbeuqjk2@alap3.anarazel.de> <20170918103213.nhlmfh5v3qrgoskg@alap3.anarazel.de> <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2017-09-19 07:48:42 -0400, Robert Haas wrote: > Oh, I've not seen that. Mostly, what I think we should fix is the > fact that the libpq messages tend to report that the server crashed > even if it was an orderly shutdown. > > [rhaas ~]$ psql > psql (11devel) > Type "help" for help. > > rhaas=# select 1; > FATAL: terminating connection due to administrator command > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. > The connection to the server was lost. Attempting reset: Failed. > > It's sort of funny (but also sort of sad) that we've got libpq talking > down the server's reliability (and even in the face of evidence which > manifestly contradicts it). Yea, I'm not very happy with that either. I really think we should stop emitting that if we got an actual message from the server. Unfortunately the backends themselves also react with inaccurate error messages to things like immediate shutdowns... Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers