public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Gaisford, Phillip <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Issue with configuration parameter "require_auth"
Date: Wed, 17 Jul 2024 08:27:11 -0700
Message-ID: <CAKFQuwZ=zxnSbL_kgK6ZpURoqK8SR+W1v1O+f=ONunifzrYAag@mail.gmail.com> (raw)
In-Reply-To: <DM4PR84MB15172CC4665076AB1248F3CC8DDF2@DM4PR84MB1517.NAMPRD84.PROD.OUTLOOK.COM>
References: <DM4PR84MB15172CC4665076AB1248F3CC8DDF2@DM4PR84MB1517.NAMPRD84.PROD.OUTLOOK.COM>

On Wednesday, July 17, 2024, Gaisford, Phillip <[email protected]>
wrote:

> 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 configuration
> parameter "require_auth"
>
>
>
> What could the issue be?
>
>
>

Seems like a bug or version mis-match in the client library.  That is a new
option in v16 so it may not be handled properly.  That option is
client-only, the client should not be sending it to the server, which the
error message indicates it is.  Unless you can reproduce with psql you’ll
need to check your installation environment (maybe you only have v15 or
less client libraries installed?) or file a bug with the driver project.

David J.


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Issue with configuration parameter "require_auth"
  In-Reply-To: <CAKFQuwZ=zxnSbL_kgK6ZpURoqK8SR+W1v1O+f=ONunifzrYAag@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox