Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVzLy-0006bC-9u for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Apr 2021 16:23:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lVzLw-00022z-8T for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Apr 2021 16:23:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVzLw-00022s-29 for pgsql-hackers@lists.postgresql.org; Mon, 12 Apr 2021 16:23:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVzLq-0003Wj-Qv for pgsql-hackers@lists.postgresql.org; Mon, 12 Apr 2021 16:23:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 13CGNQiu2902363; Mon, 12 Apr 2021 12:23:26 -0400 From: Tom Lane To: Fabien COELHO cc: Peter Eisentraut , Michael Paquier , Julien Rouhaud , "shiy.fnst@fujitsu.com" , "pgsql-hackers@lists.postgresql.org" Subject: Re: psql - add SHOW_ALL_RESULTS option In-reply-to: References: <1ec5ef49-b5c8-4129-e680-fe42f8d0670b@2ndquadrant.com> <20210408163050.fca7dwb37zszbsmm@nol> <20210408171135.ekhdf5nvqss554q3@nol> <2671235.1618154047@sss.pgh.pa.us> Comments: In-reply-to Fabien COELHO message dated "Mon, 12 Apr 2021 16:25:33 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2902361.1618244606.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 12 Apr 2021 12:23:26 -0400 Message-ID: <2902362.1618244606@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Fabien COELHO writes: >> Between this and the known breakage of control-C, it seems clear >> to me that this patch was nowhere near ready for prime time. >> I think shoving it in on the last day before feature freeze was >> ill-advised, and it ought to be reverted. We can try again later. > The patch has been asleep for quite a while, and was resurrected, possib= ly = > too late in the process. ISTM that fixing it for 14 is manageable, = > but this is not my call. I just observed an additional issue that I assume was introduced by this patch, which is that psql's response to a server crash has gotten repetitive: regression=3D# CREATE VIEW v1(c1) AS (SELECT ('4' COLLATE "C")::INT FROM g= enerate_series(1, 10)); 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. The connection to the server was lost. Attempting reset: Failed. !?> = I've never seen that before, and it's not because I don't see server crashes regularly. regards, tom lane