From: Tom Lane <tgl@sss.pgh.pa.us> Date: Wednesday, July 17, 2024 at 11:24AM To: Gaisford, Phillip <phillip.gaisford@hpe.com> Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org> Subject: Re: Issue with configuration parameter "require_auth"
"Gaisford, Phillip" <phillip.gaisford@hpe.com> writes: > 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 configuration parameter "require_auth"
require_auth is a connection parameter, like host or port or dbname. You seem to be trying to specify it as a server parameter, ie inside the "options" connection parameter.