Re: Add %x to PROMPT1 and PROMPT2

Christoph Berg <myon@debian.org>

From: Christoph Berg <myon@debian.org>
To: Vik Fearing <vik.fearing@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-01-26T12:40:41Z
Lists: pgsql-hackers
Re: Vik Fearing 2020-01-26 <09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com>
> 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.

+1, same here.

Christoph



Commits

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