Re: Add %x to PROMPT1 and PROMPT2

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael@paquier.xyz>
Cc: Ian Barwick <ian.barwick@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, Daniel Gustafsson <daniel@yesql.se>, Vik Fearing <vik.fearing@2ndquadrant.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-02-05T16:31:38Z
Lists: pgsql-hackers
>> +1 one for this change, it's something I also add to every .psqlrc I setup.
>
> So..  We have:
> +1: Vik, Ian, Daniel, Alvaro, Christoph
> +-0: Tom (?), Fabien (?)

I did not know I had a vote. I'm "+1" on this change, if that matters.

Just this morning I had a case where I wished I had the current 
transaction status under the eye under psql.

> -1: Michael P.
>
> So there is a clear majority in favor of changing the default.  Any
> extra opinions from others?

-- 
Fabien.



Commits

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