BUG #14916: psql \r is invalid in PostgreSQL 10

From: xyh(at)nvn(dot)xyz
To: pgsql-bugs(at)postgresql(dot)org
Cc: xyh(at)nvn(dot)xyz
Subject: BUG #14916: psql \r is invalid in PostgreSQL 10
Date: 2017-11-17 02:57:34
Message-ID: 20171117025734.1473.85669@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14916
Logged by: Yunhe Xu
Email address: xyh(at)nvn(dot)xyz
PostgreSQL version: 10.1
Operating system: Red Hat Enterprise Linux Server release 6.7
Description:

Hello,
In PostgreSQL 10.0 and 10.1 .
psql \r is invalid.

postgres=# select count(*) from abc;
count
-------
0
(1 row)

postgres=# \r
Query buffer reset (cleared).
postgres=# \p
select count(*) from abc;

In 9.4.14,don't have this problem.
postgres=# select count(*) from abc;
count
-------
0
(1 row)

postgres=# \r
Query buffer reset (cleared).
postgres=# \p
Query buffer is empty.

Kind regards.
Yunhe

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-11-17 03:43:07 Re: BUG #14916: psql \r is invalid in PostgreSQL 10
Previous Message Amit Langote 2017-11-17 02:41:13 Re: BUG #14915: Create sub-partitioning using GENERATED ALWAYS AS IDENTITY will lead to system collapse.