BUG #16034: `\set ECHO all` doesn't work for \e command - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16034: `\set ECHO all` doesn't work for \e command
Date
Msg-id 16034-a7ebf0622970a1dd@postgresql.org
Whole thread Raw
Responses Re: BUG #16034: `\set ECHO all` doesn't work for \e command
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16034
Logged by:          Pavlo Golub
Email address:      pavlo.golub@cybertec.at
PostgreSQL version: 11.5
Operating system:   All
Description:

I want command sent to the server with \e command to be echoed to the
terminal. For this:

timetable=# \set ECHO all
timetable=# \e
                                                version
--------------------------------------------------------------------------------------------------------
 PostgreSQL 11.2 on x86_64-pc-mingw64, compiled by gcc.exe (Rev5, Built by
MSYS2 project) 4.9.2, 64-bit
(1 row)

timetable=#

Should it print out the query I've entered in the editor? The same situation
for `\set ECHO_HIDDEN on`


pgsql-bugs by date:

Previous
From: Miha Vrhovnik
Date:
Subject: Re: BUG #16033: segmentation fault when runing update
Next
From: Tom Lane
Date:
Subject: Re: BUG #16034: `\set ECHO all` doesn't work for \e command