Re: Suggested fix for \p and \r in psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Suggested fix for \p and \r in psql
Date: 2017-04-02 20:02:24
Message-ID: 6391.1491163344@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Daniel Verite" <daniel(at)manitou-mail(dot)org> writes:
> Tom Lane wrote:
>> If we do phrase it like that, I think that the most natural behavior
>> for \r is the way I have it in HEAD --- you'd expect it to clear
>> the query buffer, but you would not expect it to forget the most
>> recent command.

> Okay, leaving out \r as it is and changing only \p works for me.

Sold, I'll adjust your patch and push it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2017-04-02 20:21:12 Re: Undefined psql variables
Previous Message Tom Lane 2017-04-02 20:00:22 Re: Undefined psql variables