From ec0da9b89377960553a3d9054ec79c0512742275 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Sat, 27 Dec 2025 23:05:48 +0100 Subject: [PATCH] Add oauth_validator_libraries to variable_is_guc_list_quote The variable_is_guc_list_quote function need to know about all GUC_QUOTE variables, this adds oauth_validator_libraries which was missing. Backpatch to v18 where OAuth was introduced. Author: ChangAo Chen Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/tencent_03D4D2A5C0C8DCE0CD1DB4D945858E15420A@qq.com Backpatch-through: 18 --- src/bin/pg_dump/dumputils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/pg_dump/dumputils.c b/src/bin/pg_dump/dumputils.c index 2d22723aa91..eca479c46e1 100644 --- a/src/bin/pg_dump/dumputils.c +++ b/src/bin/pg_dump/dumputils.c @@ -730,6 +730,7 @@ bool variable_is_guc_list_quote(const char *name) { if (pg_strcasecmp(name, "local_preload_libraries") == 0 || + pg_strcasecmp(name, "oauth_validator_libraries") == 0 || pg_strcasecmp(name, "search_path") == 0 || pg_strcasecmp(name, "session_preload_libraries") == 0 || pg_strcasecmp(name, "shared_preload_libraries") == 0 ||