Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has) - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Date
Msg-id CAFj8pRDM-NJphQ6681JgybW5qCRFOuKRyNjbZcHm-RPS2LQGxA@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)  (Nikolay Samokhvalov <samokhvalov@gmail.com>)
List pgsql-hackers


st 22. 2. 2023 v 18:59 odesílatel Nikolay Samokhvalov <samokhvalov@gmail.com> napsal:
On Wed, Feb 22, 2023 at 9:55 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
On the whole I'd rather not eat more of the limited namespace for
psql prompt codes for this.

It depends on personal preferences. When I work on a large screen, I can afford to spend some characters in prompts, if it gives convenience – and many do (looking, for example, at modern tmux/zsh prompts showing git branch context, etc).

Default behavior might remain short – it wouldn't make sense to extend it for everyone.

+1

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()
Next
From: Mark Dilger
Date:
Subject: Re: Non-superuser subscription owners