Re: Psql meta-command conninfo+

Pavel Luzanov <p.luzanov@postgrespro.ru>

From: Pavel Luzanov <p.luzanov@postgrespro.ru>
To: Maiquel Grassi <grassi@hotmail.com.br>, Nathan Bossart <nathandbossart@gmail.com>
Cc: Erik Wienhold <ewie@ewie.name>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-02-12T21:53:50Z
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

Commits

  1. psql: Change new \conninfo to use SSL instead of TLS

  2. Change \conninfo to use tabular format

  3. Update extension lookup routines to use the syscache

  4. Improve COPY TO performance when server and client encodings match

  5. doc: Remove superfluous bracket in synopsis

  6. Remove psql support for server versions preceding 9.2.