From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Kirk Wolak <wolakk@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: psql: Could we get "-- " prefixing on the **** QUERY **** outputs? (ECHO_HIDDEN)
Date: Mon, 15 May 2023 10:02:36 -0400
Message-ID: <2150056.1684159356@sss.pgh.pa.us> (raw)
In-Reply-To: <46a24b58ff9de0c066a32fa9bfac7646baee2780.camel@cybertec.at>
References: <CACLU5mTFJRJYtbvmZ26txGgmXWQo0hkGhH2o3hEquUPmSbGtBw@mail.gmail.com>
<CAFj8pRCOBLnJ+H-gnw+y+X4xSjdJ2LiaBfii_qdCx92V7xZ0QQ@mail.gmail.com>
<46a24b58ff9de0c066a32fa9bfac7646baee2780.camel@cybertec.at>
Laurenz Albe <laurenz.albe@cybertec.at> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, pavel.stehule@gmail.com, wolakk@gmail.com, pgsql-hackers@lists.postgresql.org
Subject: Re: psql: Could we get "-- " prefixing on the **** QUERY **** outputs? (ECHO_HIDDEN)
In-Reply-To: <2150056.1684159356@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox