From 868c1665eb833f26da221865c85a36a6d67f478b Mon Sep 17 00:00:00 2001 From: Shinya Kato Date: Fri, 9 Aug 2024 09:14:33 +0900 Subject: [PATCH] Add EmitWarningsOnPlaceholders("age") Added EmitWarningsOnPlaceholders("age") to warn when an undefined GUC parameter is set for a placeholder named "age". Warnings are issued when PostgreSQL starts. When PostgreSQL starts ``` 2024-08-01 18:32:31.220 JST [2039799] WARNING: invalid configuration parameter name "age.invalid_parameter", removing it ``` --- src/backend/utils/ag_guc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/utils/ag_guc.c b/src/backend/utils/ag_guc.c index d9a99f66e..86b4e00bc 100644 --- a/src/backend/utils/ag_guc.c +++ b/src/backend/utils/ag_guc.c @@ -42,4 +42,5 @@ void define_config_params(void) NULL, NULL, NULL); + EmitWarningsOnPlaceholders("age"); }