From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: francois.grandvarlet@wanadoo.fr
Subject: BUG #17020: meta command psql \reset does not clear the query buffer
Date: Tue, 18 May 2021 22:16:16 +0000
Message-ID: <17020-f5e23166506e7932@postgresql.org> (raw)
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
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-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, francois.grandvarlet@wanadoo.fr
Subject: Re: BUG #17020: meta command psql \reset does not clear the query buffer
In-Reply-To: <17020-f5e23166506e7932@postgresql.org>
* 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