Re: Add %x to PROMPT1 and PROMPT2

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: Add %x to PROMPT1 and PROMPT2
Дата
Msg-id e04078e8-ae4a-b09d-896d-5f2f5a042248@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Add %x to PROMPT1 and PROMPT2  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: Add %x to PROMPT1 and PROMPT2
Список pgsql-hackers
On 26/01/2020 19:48, Fabien COELHO wrote:
> 
> Hello Vik,
> 
>> I cannot ever think of a time when I don't want to know if I'm in a
>> transaction or not (and what its state is).  Every new setup I do, I add
>> %x to the psql prompt.
>>
>> I think it should be part of the default prompt.  Path attached.
> 
> Isn't there examples in the documentation which use the default prompts?
> 
> If so, should they be updated accordingly?

Good catch!
I thought about the documentation but not the examples therein.

Updated patch attached.
-- 
Vik Fearing

Вложения

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: Add %x to PROMPT1 and PROMPT2
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: making the backend's json parser work in frontend code