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

From Nikolay Samokhvalov
Subject Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Date
Msg-id CANNMO+KqqM0YpVUmVDec+9nku9ai9T=Y5Tp=pZ0rp1jR3d8kqA@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
List pgsql-hackers
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.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Next
From: Heikki Linnakangas
Date:
Subject: Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)