Re: Add %x to PROMPT1 and PROMPT2
Vik Fearing <vik.fearing@2ndquadrant.com>
From: Vik Fearing <vik.fearing@2ndquadrant.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-01-26T19:04:41Z
Lists: pgsql-hackers
Attachments
- 0001-Add-x-to-the-default-psql-prompt.v2.patch (text/x-patch)
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
Commits
-
Add %x to default PROMPT1 and PROMPT2 in psql
- dcdbb5a5db09 13.0 landed