Add %x to PROMPT1 and PROMPT2

Vik Fearing <vik.fearing@2ndquadrant.com>

From: Vik Fearing <vik.fearing@2ndquadrant.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-01-26T12:29:16Z
Lists: pgsql-hackers

Attachments

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.
-- 
Vik Fearing

Commits

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