From: | Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add %x to PROMPT1 and PROMPT2 |
Date: | 2020-01-26 19:04:41 |
Message-ID: | e04078e8-ae4a-b09d-896d-5f2f5a042248@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
Attachment | Content-Type | Size |
---|---|---|
0001-Add-x-to-the-default-psql-prompt.v2.patch | text/x-patch | 2.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Dilger | 2020-01-26 19:24:39 | Re: making the backend's json parser work in frontend code |
Previous Message | Fabien COELHO | 2020-01-26 18:48:04 | Re: Add %x to PROMPT1 and PROMPT2 |