Re: POLL: Adding transaction status to default psql prompt

From: Steve Baldwin <steve(dot)baldwin(at)gmail(dot)com>
To: Vik Fearing <vik(at)postgresfriends(dot)org>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: POLL: Adding transaction status to default psql prompt
Date: 2020-02-06 03:55:44
Message-ID: CAKE1AibDf78rqfyN5AetF-VeZ0sPe_TXHV66XJOjWmwdCggYeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresfriends(dot)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
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vik Fearing 2020-02-06 04:05:34 Re: POLL: Adding transaction status to default psql prompt
Previous Message Ian Barwick 2020-02-06 03:49:59 Re: POLL: Adding transaction status to default psql prompt