Re: Psql meta-command conninfo+ - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: Psql meta-command conninfo+
Date
Msg-id CAA5RZ0uFqSxUbY67rFUX6+32Y384fzMigN7ybQ=orvQOquBLDA@mail.gmail.com
Whole thread Raw
In response to Re: Psql meta-command conninfo+  (Hunaid Sohail <hunaidpgml@gmail.com>)
Responses Re: Psql meta-command conninfo+
List 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



pgsql-hackers by date:

Previous
From: Wolfgang Walther
Date:
Subject: Re: Fwd: Re: proposal: schema variables
Next
From: Robert Haas
Date:
Subject: Re: Eager aggregation, take 3