I think Tom is right.
I am using v5.6 of https://github.com/jackc/pgx
I quick read of the code reveals no awareness of require_auth, so I have filed
an issue with the project.
From: Tom Lane
Date: Wednesday, July 17, 2024 at 1:11 PM
To: Gaisford, Phillip
Cc: pgsql-general
Lane
Date: Wednesday, July 17, 2024 at 11:24 AM
To: Gaisford, Phillip
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Issue with configuration parameter "require_auth"
"Gaisford, Phillip" writes:
> Using golang sqlx.Connect on the client side, the connection fails and
I am having trouble using require_auth
(https://www.postgresql.org/docs/16/libpq-connect.html#LIBPQ-CONNECT-REQUIRE-AUTH).
Using golang sqlx.Connect on the client side, the connection fails and my
Postgresql 16 server logs the following:
2024-07-17 14:42:07.285 UTC [115] FATAL: unrecognized c