Re: Psql meta-command conninfo+
От | Jim Jones |
---|---|
Тема | Re: Psql meta-command conninfo+ |
Дата | |
Msg-id | 7707a01b-a324-44a4-865a-a238a5da3a4d@uni-muenster.de обсуждение исходный текст |
Ответ на | Re: Psql meta-command conninfo+ (Jim Jones <jim.jones@uni-muenster.de>) |
Ответы |
Re: Psql meta-command conninfo+
|
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: