From: Tom Lane <tgl@sss.pgh.pa.us>
To: pavlo.golub@cybertec.at
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16034: `\set ECHO all` doesn't work for \e command
Date: Wed, 02 Oct 2019 11:56:47 -0400
Message-ID: <7946.1570031807@sss.pgh.pa.us> (raw)
In-Reply-To: <16034-a7ebf0622970a1dd@postgresql.org>
References: <16034-a7ebf0622970a1dd@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> I want command sent to the server with \e command to be echoed to the
> terminal.
Uh, what? \e doesn't send anything to the server, it just edits
the query buffer locally.
I could interpret your request as being that ECHO_HIDDEN causes "hidden"
commands to be shoved into the command history (whence they could be
recalled and edited) as well as being echoed. While I can see some
use-case for that, I think it'd more usually be an annoyance and/or break
cases that work today. If we decide that's a useful feature, I'd vote
for leaving ECHO_HIDDEN alone and inventing a separate variable to enable
it (HISTORY_HIDDEN, or some such?).
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, pavlo.golub@cybertec.at
Subject: Re: BUG #16034: `\set ECHO all` doesn't work for \e command
In-Reply-To: <7946.1570031807@sss.pgh.pa.us>
References: <16034-a7ebf0622970a1dd@postgresql.org> <7946.1570031807@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