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

From Pavel Luzanov
Subject Re: Psql meta-command conninfo+
Date
Msg-id 9c8844ae-b2c0-4b69-ac64-c577eeac1805@postgrespro.ru
Whole thread Raw
In response to RE: Psql meta-command conninfo+  (Maiquel Grassi <grassi@hotmail.com.br>)
List pgsql-hackers
Hi,

On 12.02.2024 17:16, Maiquel Grassi wrote:
P {margin-top:0;margin-bottom:0;}

The "if (db == NULL)" has been removed, as well as the message inside it. To always maintain the same error messages, I changed the validation of "\conninfo" to match the validation used for "\conninfo+". Therefore, now "\conninfo" and "\conninfo+" return the same error when "pg_terminate_backend()" terminates this session through another session.


This make sense to me. Thank you for this work.
-- 
Pavel Luzanov
Postgres Professional: https://postgrespro.com

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: backend *.c #include cleanup (IWYU)
Next
From: Cary Huang
Date:
Subject: [Patch] add multiple client certificate selection feature