BUG #17020: meta command psql _eset does not clear the query buffer - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17020: meta command psql _eset does not clear the query buffer
Date
Msg-id 17020-f5e23166506e7932@postgresql.org
Whole thread Raw
Responses Re: BUG #17020: meta command psql _eset does not clear the query buffer  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #17020: meta command psql _eset does not clear the query buffer  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17020
Logged by:          François Grandvarlet
Email address:      francois.grandvarlet@wanadoo.fr
PostgreSQL version: 13.3
Operating system:   Centos 7
Description:

Connected via psql
issuing a command like : SELECT * FROM generate_series (1, 1000);
meta command \p shows the query buffer
meta command \reset tells "Query buffer reset (cleared)."
but meta command \p still shows the query buffer and meta command \g execute
the query
Is this the normal behavior ?
It seems to me that the query buffer should be empty after issuing \reset


pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Less selective index chosen unexpectedly
Next
From: Peter Geoghegan
Date:
Subject: Re: Less selective index chosen unexpectedly