Re: Psql meta-command conninfo+

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Hunaid Sohail <hunaidpgml(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)postgresql(dot)org, "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 20:52:55
Message-ID: CAA5RZ0uFqSxUbY67rFUX6+32Y384fzMigN7ybQ=orvQOquBLDA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Wait a second, why do we have these here? Aren't they already in
> \dconfig?

\dconfig is generated by querying pg_settings and this
requires a halthy connection. The parameters being proposed with
\conninfo+ are set in libpq by the server [1] and can be retrieved
even if the connection breaks.

Some of these parameters may overlap \dconfig, but I don't see
that as a problem.

[1] https://www.postgresql.org/docs/devel/libpq-status.html

Regards,

Sami

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2025-01-17 21:16:19 Re: Eager aggregation, take 3
Previous Message Sami Imseih 2025-01-17 20:44:01 Re: Bug in detaching a partition with a foreign key.