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 22f9207aaa.

Author: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/ff9b84b9e6d5a3fef1f320ee5d63ec7dae722739.camel@gmail.com
This commit is contained in:
Daniel Gustafsson 2026-05-18 08:03:09 -07:00
parent a28fa2947d
commit aa7eb23aca

View file

@ -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));