Re: session username in default psql prompt?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kori Lane <kori(dot)lane(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: session username in default psql prompt?
Date: 2024-03-25 23:14:18
Message-ID: CAD5tBcJ-HRptCtEeKPDPZE9e6V6WE4jF+iXq3hpAhs081aNoEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 25, 2024 at 9:14 AM Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
wrote:

> On Mon, 25 Mar 2024 at 14:06, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> > On Mon, Mar 25, 2024 at 4:30 AM Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
> wrote:
> > > That problem seems easy to address by adding a newline into the
> > > default prompt.
> >
> > Ugh. Please, no!
>
> I guess it's partially a matter of taste, but personally I'm never
> going back to a single line prompt. It's so nice for zoomed-in demos
> that your SQL queries don't get broken up.
>

Very much a matter of taste. I knew when I saw your suggestion there would
be some kickback. If horizontal space is at a premium vertical space is
doubly so, I suspect.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-03-25 23:14:25 Re: Regression tests fail with musl libc because libpq.so can't be loaded
Previous Message Jacob Champion 2024-03-25 23:12:00 Re: WIP Incremental JSON Parser