From aa7eb23aca31dbf0263e32c4fbf85ad824a642df Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Mon, 18 May 2026 08:03:09 -0700 Subject: [PATCH] oauth: Fix missing quote in errormessage The error message for incorrect oauth validator configuration was missing a quote character. OAuth was introduced in v18 but there is no need for a backpatch since this was introduced in 22f9207aaa37. Author: Jonathan Gonzalez V. Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/ff9b84b9e6d5a3fef1f320ee5d63ec7dae722739.camel@gmail.com --- src/backend/libpq/auth-oauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/libpq/auth-oauth.c b/src/backend/libpq/auth-oauth.c index a6cab0c3bf4..b769931ca4f 100644 --- a/src/backend/libpq/auth-oauth.c +++ b/src/backend/libpq/auth-oauth.c @@ -867,7 +867,7 @@ check_oauth_validator(HbaLine *hbaline, int elevel, char **err_msg) { ereport(elevel, errcode(ERRCODE_CONFIG_FILE_ERROR), - errmsg("parameter \%s\" must be set for authentication method \"%s\"", + errmsg("parameter \"%s\" must be set for authentication method \"%s\"", "oauth_validator_libraries", "oauth"), errcontext("line %d of configuration file \"%s\"", line_num, file_name));