Search Postgresql Archives

Re: Issue with configuration parameter "require_auth"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, July 17, 2024, Gaisford, Phillip <phillip.gaisford@xxxxxxx> 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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux