Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kirk Wolak <wolakk(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, amborodin86(at)gmail(dot)com, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Subject: Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has)
Date: 2023-02-22 18:55:16
Message-ID: CAFj8pRDM-NJphQ6681JgybW5qCRFOuKRyNjbZcHm-RPS2LQGxA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

st 22. 2. 2023 v 18:59 odesílatel Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>
napsal:

> On Wed, Feb 22, 2023 at 9:55 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2023-02-22 19:12:05 Re: Non-superuser subscription owners
Previous Message Jacob Champion 2023-02-22 18:49:47 Re: [PATCH] Fix unbounded authentication exchanges during PQconnectPoll()