Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU6Vi-000TDt-Pw for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2024 15:24:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sU6Vg-002Agb-IN for pgsql-general@arkaria.postgresql.org; Wed, 17 Jul 2024 15:24:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU6Vg-002AgT-7j for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2024 15:24:04 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU6VZ-0002XL-T4 for pgsql-general@lists.postgresql.org; Wed, 17 Jul 2024 15:24:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 46HFNtD83554315; Wed, 17 Jul 2024 11:23:55 -0400 From: Tom Lane To: "Gaisford, Phillip" cc: "pgsql-general@lists.postgresql.org" Subject: Re: Issue with configuration parameter "require_auth" In-reply-to: References: Comments: In-reply-to "Gaisford, Phillip" message dated "Wed, 17 Jul 2024 15:09:39 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3554313.1721229835.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 17 Jul 2024 11:23:55 -0400 Message-ID: <3554314.1721229835@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Gaisford, Phillip" writes: > Using golang sqlx.Connect on the client side, the connection fails and m= y Postgresql 16 server logs the following: > 2024-07-17 14:42:07.285 UTC [115] FATAL: unrecognized configuration par= ameter "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. regards, tom lane