Re: Add %x to PROMPT1 and PROMPT2

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
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 18:48:04
Message-ID: alpine.DEB.2.21.2001261946530.29788@pseudo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2020-01-26 19:04:41 Re: Add %x to PROMPT1 and PROMPT2
Previous Message Pavel Stehule 2020-01-26 17:26:16 Re: proposal: schema variables