From: | Hunaid Sohail <hunaidpgml(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Sami Imseih <samimseih(at)gmail(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, 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>, 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>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
Subject: | Re: Psql meta-command conninfo+ |
Date: | 2025-01-17 05:17:42 |
Message-ID: | CAMWA6ybKwxL6ez7++CO9n7huUvyaT1jo4VEtidNtX4KgQu04BA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On Thu, Jan 16, 2025 at 6:01 PM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
wrote:
> On 2025-Jan-16, Hunaid Sohail wrote:
>
> > server_encoding | UTF8
> > server_version | 18devel
> > client_encoding | UTF8
> > session_authorization | hunaid
> > standard_conforming_strings | on
> > DateStyle | ISO, MDY
> > scram_iterations | 4096
> > default_transaction_read_only | off
> > application_name | psql
> > is_superuser | on
> > search_path | "$user", public
> > IntervalStyle | postgres
> > TimeZone | Asia/Karachi
> > integer_datetimes | on
> > in_hot_standby | off
>
> Wait a second, why do we have these here? Aren't they already in
> \dconfig?
>
There are indeed some overlaps because Sami [1] and David [2] suggested
to show all parameters, with Sami specifically asking to include
in_hot_standby
and application_name, as they can be useful. Moreover, parameters like
server_encoding and session_authorization were already included in previous
patches.
In other cases, we'd have to pick and choose which parameters to include.
If a new parameter is reported that might be relevant to this meta command
and
the user wants it included, we would need to modify the code repeatedly.
By the way, I just noticed CF bot failed with the error:
'undefined reference to palloc'.
Maybe I should use malloc as it is used in the file, and free with
PQmemfree().
[1]
https://www.postgresql.org/message-id/CAA5RZ0sa0%3DJP3RCs4_hZ%2BYVFCeU8b_aHSqiSFdUrf_ushcBTtw%40mail.gmail.com
[2]
https://www.postgresql.org/message-id/CAKFQuwb_R-zGT41xsBkPChBEB9e%3DA4P3fsAGjeqOzTuWN1Z5Sg%40mail.gmail.com
Regards,
Hunaid Sohail
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-01-17 05:22:08 | leafhopper: Assert("outerstartsel <= outerendsel"), File: "costsize.c" |
Previous Message | Amit Langote | 2025-01-17 05:05:41 | Re: Some ExecSeqScan optimizations |