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

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема BUG #14916: psql \r is invalid in PostgreSQL 10
Дата
Msg-id CAKFQuwbtFAxDdGJAS+qEfUxHPF1Qho+CHkiL7H_ir2ov4r5hQw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #14916: psql \r is invalid in PostgreSQL 10  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #14916: psql \r is invalid in PostgreSQL 10  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thursday, November 16, 2017, Tom Lane <tgl@sss.pgh.pa.us> wrote:
xyh@nvn.xyz writes:
> Hello,
> In PostgreSQL 10.0 and 10.1 .
> psql \r is invalid.

Please say why you think this is "invalid".  I'm pretty sure
it was an intentional behavioral change (associated with the
rewrite to support \if).  In any case it's not obviously worse
than before.  \r is supposed to clear the current query input
string; it says nothing about deleting history.


Actually, \r is behaving the same.  The behavior of \p has been changed (at least per the docs) to print the last executed query if the current buffer is empty.  This behavior change doesn't seem to be in the release notes.

David J.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14916: psql \r is invalid in PostgreSQL 10
Следующее
От: Ashutosh Sharma
Дата:
Сообщение: Re: 10.1: hash index size exploding on vacuum full analyze