Re: Add %x to PROMPT1 and PROMPT2

From: Christoph Berg <myon(at)debian(dot)org>
To: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add %x to PROMPT1 and PROMPT2
Date: 2020-01-26 12:40:41
Message-ID: 20200126124041.GA387175@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Re: Vik Fearing 2020-01-26 <09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-01-26 14:13:28 vacuum verbose: show pages marked allvisible/frozen/hintbits
Previous Message Vik Fearing 2020-01-26 12:29:16 Add %x to PROMPT1 and PROMPT2