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 1pyYmj-0002ML-LE for pgsql-hackers@arkaria.postgresql.org; Mon, 15 May 2023 14:02:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pyYmi-0005aM-IN for pgsql-hackers@arkaria.postgresql.org; Mon, 15 May 2023 14:02:44 +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 1pyYmi-0005aC-9O for pgsql-hackers@lists.postgresql.org; Mon, 15 May 2023 14:02:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pyYmf-002Sxp-Th for pgsql-hackers@lists.postgresql.org; Mon, 15 May 2023 14:02:43 +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 34FE2aex2150057; Mon, 15 May 2023 10:02:36 -0400 From: Tom Lane To: Laurenz Albe cc: Pavel Stehule , Kirk Wolak , PostgreSQL Hackers Subject: Re: psql: Could we get "-- " prefixing on the **** QUERY **** outputs? (ECHO_HIDDEN) In-reply-to: <46a24b58ff9de0c066a32fa9bfac7646baee2780.camel@cybertec.at> References: <46a24b58ff9de0c066a32fa9bfac7646baee2780.camel@cybertec.at> Comments: In-reply-to Laurenz Albe message dated "Mon, 15 May 2023 10:00:29 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2150055.1684159356.1@sss.pgh.pa.us> Date: Mon, 15 May 2023 10:02:36 -0400 Message-ID: <2150056.1684159356@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Laurenz Albe writes: > On Mon, 2023-05-15 at 08:37 +0200, Pavel Stehule wrote: >> This looks little bit strange >> >> What about /* comments >> Like >> /******* Query ********/ >> Or just >> -------- Query -------- > +1 for either of Pavel's suggestions. +1. Probably the slash-star way would be less visually surprising to people who are used to the current output. Checking the psql source code for "****", I see that the single-step feature could use the same treatment. regards, tom lane