| From: | Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Kirk Wolak <wolakk(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, 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 17:59:24 |
| Message-ID: | CANNMO+KqqM0YpVUmVDec+9nku9ai9T=Y5Tp=pZ0rp1jR3d8kqA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2023-02-22 18:14:54 | Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has) |
| Previous Message | Tom Lane | 2023-02-22 17:55:25 | Re: Proposal: %T Prompt parameter for psql for current time (like Oracle has) |