Re: Psql meta-command conninfo+

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>, Hunaid Sohail <hunaidpgml(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, "Imseih (AWS), Sami" <simseih(at)amazon(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, Erik Wienhold <ewie(at)ewie(dot)name>
Subject: Re: Psql meta-command conninfo+
Date: 2025-01-09 19:35:00
Message-ID: CAKFQuwaCQsTkCmbpZ_e7umZzqsPut1Q53hBNgWPP=Zw1EKmuEw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 9, 2025 at 12:28 PM Sami Imseih <samimseih(at)gmail(dot)com> wrote:

> > v35 seems fine to me from a UI standpoint; I suggest we move forward
> > with that.
>
> I am also OK with moving forward with a single \conninfo+, but
> I think we should include all parameters in [1] as part of the output.
> These are the parameters the server reports back to the client. I think
> they are all useful to report in this command.
>

I dislike totally discarding the category information we have available to
us. How about making a long output with just three columns in non-expanded
mode. Setting, Value, Category ?

This also makes the non-expanded output, the default, the readable one.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2025-01-09 19:52:43 Re: why there is not VACUUM FULL CONCURRENTLY?
Previous Message Sami Imseih 2025-01-09 19:27:51 Re: Psql meta-command conninfo+