Re: Psql meta-command conninfo+

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Hunaid Sohail <hunaidpgml(at)gmail(dot)com>
Cc: Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, 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: 2024-10-07 16:30:28
Message-ID: CAKFQuwZNy9CE-A0frjhupV9dsr6BBiiOQch34z-opf=76FBt-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Oct 6, 2024 at 11:17 PM Hunaid Sohail <hunaidpgml(at)gmail(dot)com> wrote:

>
> PQpass - no need
>

I would include this as presence/absence.

I concur on all of the rest.

>
> For PQparameterStatus, some parameters are already used.
> server_version and application_name were already discussed and removed in
> v12 and v29 respectively. Do we need other parameters?
>

Ok, I'll need to go read the reasoning for why they are deemed unneeded and
form an opinion one way or the other.

>
>> Within that framework having \conninfo[+[CSE][…]] be the command -
>> printing out only the table specified would be the behavior (specifying no
>> suffix letters prints all three) - would be an option.
>>
>
> 3 separate tables without suffix?
>

Yes, the tables need headers specific to their categories.

I do like the idea of having 4 though, placing settings into their own.
Premised on having all or most of the available parameters being on the
table. If it only ends up being a few of them then keeping those in
the status table makes sense.

David J.

>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-10-07 16:33:25 Re: Converting tab-complete.c's else-if chain to a switch
Previous Message Fujii Masao 2024-10-07 16:19:59 Re: [BUG FIX]Connection fails with whitespace after keepalives parameter value