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 1lYeVN-0005ak-Cb for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Apr 2021 00:44:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lYeVM-0004vE-9u for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Apr 2021 00:44:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lYeVM-0004v7-3O for pgsql-hackers@lists.postgresql.org; Tue, 20 Apr 2021 00:44:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lYeVF-0002SA-UZ for pgsql-hackers@postgresql.org; Tue, 20 Apr 2021 00:44:39 +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 13K0iVCO465222; Mon, 19 Apr 2021 20:44:31 -0400 From: Tom Lane To: Thomas Munro cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: when the startup process doesn't In-reply-to: References: Comments: In-reply-to Thomas Munro message dated "Tue, 20 Apr 2021 12:38:11 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <465220.1618879471.1@sss.pgh.pa.us> Date: Mon, 19 Apr 2021 20:44:31 -0400 Message-ID: <465221.1618879471@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Tue, Apr 20, 2021 at 5:55 AM Robert Haas wrote: >> If I had to pick one of these two ideas, I'd pick the one the >> log-based solution, since it seems easier to access and simplifies >> retrospective analysis, but I suspect SQL access would be quite useful >> for some users too, especially in cloud environments where "just log >> into the machine and have a look" is not an option. > +1 for both ideas. I've heard multiple requests for something like > that. A couple of users with update_process_title=off told me they > regretted that choice when they found themselves running a long crash > recovery with the only indicator of progress disabled. Hmm ... +1 for progress messages in the log, but I'm suspicious about the complexity-and-fragility-versus-value tradeoff for the other thing. regards, tom lane