Re: Psql meta-command conninfo+

From: Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>
To: Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>, Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Erik Wienhold <ewie(at)ewie(dot)name>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Psql meta-command conninfo+
Date: 2024-02-12 21:53:50
Message-ID: 9c8844ae-b2c0-4b69-ac64-c577eeac1805@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 12.02.2024 17:16, Maiquel Grassi wrote:
>
> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Cary Huang 2024-02-12 22:40:55 [Patch] add multiple client certificate selection feature
Previous Message Tom Lane 2024-02-12 21:46:55 Re: backend *.c #include cleanup (IWYU)