Re: Add %x to PROMPT1 and PROMPT2

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Vik Fearing <vik.fearing@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-01-26T18:48:04Z
Lists: pgsql-hackers
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?

-- 
Fabien.



Commits

  1. Add %x to default PROMPT1 and PROMPT2 in psql