postgres.git / summary / log / commit / refs

commit    aa7eb23aca31dbf0263e32c4fbf85ad824a642df
Author:   Daniel Gustafsson <dgustafsson@postgresql.org>
Date:     Mon May 18 15:03:09 2026 +0000
First released in: 19.0

    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. <jonathan.abdiel@gmail.com>
    Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
    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)); [parent: a28fa2947d2a]