Re: psql \r command is working?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql \r command is working?
Дата
Msg-id 21740.1566224909@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql \r command is working?  (Sergei Kornilov <sk@zsrv.org>)
Ответы Re: psql \r command is working?
Список pgsql-hackers
Sergei Kornilov <sk@zsrv.org> writes:
> Is psql command \r actually works? I expected \r and then \e command should start editor without text of last query.

\r clears the current query buffer.  \e without an argument is
defined to edit the current query buffer, or if that is empty,
the last query.  I don't see anything particularly wrong here.

> I see this behavior change on >= 10 versions

Possibly fixed as a side effect of e984ef586.

            regards, tom lane



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