Default value

Started by Igor Korot3 months ago3 messagesgeneral
Jump to latest
#1Igor Korot
ikorot01@gmail.com

Hi, ALL
What would be the default value for "require_auth"?

The page at https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS,does
not indicate any...

Thank you.

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Igor Korot (#1)
Re: Default value

On 12/23/25 17:03, Igor Korot wrote:

Hi, ALL
What would be the default value for "require_auth"?

The page at https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS,does
not indicate any...

From the linked page:

"Specifies the authentication method that the client requires from the
server. If the server does not use the required method to authenticate
the client, or if the authentication handshake is not fully completed by
the server, the connection will fail. A comma-separated list of methods
may also be provided, of which the server must use exactly one in order
for the connection to succeed. By default, any authentication method is
accepted, and the server is free to skip authentication altogether.
"

Where the server side configuration is here:

https://www.postgresql.org/docs/current/auth-methods.html

Thank you.

--
Adrian Klaver
adrian.klaver@aklaver.com

#3Igor Korot
ikorot01@gmail.com
In reply to: Adrian Klaver (#2)
Re: Default value

Thx.

Show quoted text

On Tue, Dec 23, 2025 at 5:10 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:

On 12/23/25 17:03, Igor Korot wrote:

Hi, ALL
What would be the default value for "require_auth"?

The page at https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS,does
not indicate any...

From the linked page:

"Specifies the authentication method that the client requires from the
server. If the server does not use the required method to authenticate
the client, or if the authentication handshake is not fully completed by
the server, the connection will fail. A comma-separated list of methods
may also be provided, of which the server must use exactly one in order
for the connection to succeed. By default, any authentication method is
accepted, and the server is free to skip authentication altogether.
"

Where the server side configuration is here:

https://www.postgresql.org/docs/current/auth-methods.html

Thank you.

--
Adrian Klaver
adrian.klaver@aklaver.com