Re: Psql meta-command conninfo+
Sami Imseih <samimseih@gmail.com>
From: Sami Imseih <samimseih@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Maiquel Grassi <grassi@hotmail.com.br>,
Hunaid Sohail <hunaidpgml@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Jim Jones <jim.jones@uni-muenster.de>, Tom Lane <tgl@sss.pgh.pa.us>, Nathan Bossart <nathandbossart@gmail.com>, "Imseih (AWS), Sami" <simseih@amazon.com>,
Peter Eisentraut <peter@eisentraut.org>, Pavel Luzanov <p.luzanov@postgrespro.ru>, Erik Wienhold <ewie@ewie.name>, "David G. Johnston" <david.g.johnston@gmail.com>
Date: 2025-01-09T19:27:51Z
Lists: pgsql-hackers
> 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. Also, we should also make "role" a part of the PQparameterStatus list. This is because is_superuser can change when either "session authorization" or "role" changes. See [2] [1] https://www.postgresql.org/docs/current/libpq-status.html#LIBPQ-PQPARAMETERSTATUS [2] https://www.postgresql.org/message-id/CAA5RZ0vN3RbekDNUUhD7CTFL2t7imZ2JS--aFNMHz18mr_yzNA%40mail.gmail.com Regards, Sami
Commits
-
psql: Change new \conninfo to use SSL instead of TLS
- 6d6480066c1a 18.0 landed
-
Change \conninfo to use tabular format
- bba2fbc6238b 18.0 landed
-
Update extension lookup routines to use the syscache
- d8df7ac5c04c 18.0 cited
-
Improve COPY TO performance when server and client encodings match
- b619852086ed 17.0 cited
-
doc: Remove superfluous bracket in synopsis
- fdfb92c0307c 17.0 cited
-
Remove psql support for server versions preceding 9.2.
- cf0cab868aa4 15.0 cited