"David G. Johnston" writes:
> On Wednesday, July 22, 2020, Emanuel Araújo wrote:
>> \r
>> \e
>> -> Open temp file with the same last command "select 1;"
>> is it right?
> Documentation since v10:
> Or, if the current query buffer is empty, the most recently executed query
> is copied to a tempor
On Wednesday, July 22, 2020, David G. Johnston
wrote:
> On Wednesday, July 22, 2020, Emanuel Araújo wrote:
>
>>
>> \r
>> \e
>> -> Open temp file with the same last command "select 1;"
>> is it right?
>>
>>
> Documentation since v10:
>
> Or, if the current query buffer is empty, the most recently
On Wednesday, July 22, 2020, Emanuel Araújo wrote:
>
> \r
> \e
> -> Open temp file with the same last command "select 1;"
> is it right?
>
>
Documentation since v10:
Or, if the current query buffer is empty, the most recently executed query
is copied to a temporary file and edited in the same fa
Hi,
When used PostgreSQL 9.6.* it was common use in psql \r\e to clear a buffer
query and open the empty text editor. Works fine for me and it was very
useful in my tasks.
Since PostgreSQL 10, this behavior changed and not more clear the
buffer query.
psql helps show that \r reset (clear) the q