On 11.09.24 10:16, Hunaid Sohail wrote:
I have made the requested changes. Now output is returned in tabular
form. Indentation/whitespace issues are fixed.
$bin/psql --port=5430 postgres
postgres=# \conninfo+
You are connected to database "postgres" as user "hunaid" via socket
in "/tmp" at port "5430".
Connection Information
Parameter | Value
----------------------+--------
Protocol Version | 3
SSL Connection | no
GSSAPI Authenticated | no
Client Encoding | UTF8
Server Encoding | UTF8
Session User | hunaid
Backend PID | 121800
(7 rows)
Thanks for working on this.
Any particular reason for the design change? In v28 it returned a table
with a single row and multiple columns --- one column per attribute. But
now it returns multiple rows. In this case, I was expecting 1 row with 7
columns instead of 7 rows with 2 columns.
Jim