Re: POLL: Adding transaction status to default psql prompt - Mailing list pgsql-general

From Steve Baldwin
Subject Re: POLL: Adding transaction status to default psql prompt
Date
Msg-id CAKE1AibDf78rqfyN5AetF-VeZ0sPe_TXHV66XJOjWmwdCggYeQ@mail.gmail.com
Whole thread Raw
In response to POLL: Adding transaction status to default psql prompt  (Vik Fearing <vik@postgresfriends.org>)
Responses Re: POLL: Adding transaction status to default psql prompt  (Vik Fearing <vik@postgresfriends.org>)
List pgsql-general
Hi Vik,

I'm not sure why this should be the default when it is easy to override the default via a psqrc file. If you know enough to do it, you can. Otherwise I don't think it adds any value as a default since a novice user isn't going to know what */!/? means. Maybe I'm missing something.

-1 from me.

On Thu, Feb 6, 2020 at 1:55 PM Vik Fearing <vik@postgresfriends.org> wrote:
Hello,

I proposed a patch to add %x to PROMPT1 and PROMPT2 by default in psql.

The effect of this is:

- nothing at all when not in a transaction,
- adding a '*' when in a transaction or a '!' when in an aborted
  transaction.

Before making a change to a long-time default, a poll in this group was
requested.

Please answer +1 if you want or don't mind seeing transaction status by
default in psql or -1 if you would prefer to keep the current default.

Thanks!

+1 from me.
--
Vik Fearing


pgsql-general by date:

Previous
From: Ian Barwick
Date:
Subject: Re: POLL: Adding transaction status to default psql prompt
Next
From: Vik Fearing
Date:
Subject: Re: POLL: Adding transaction status to default psql prompt