Skip to content

Commit

Permalink
Add EmitWarningsOnPlaceholders("age")
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
shinyaaa committed Aug 9, 2024
1 parent a3d2958 commit 868c166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/utils/ag_guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ void define_config_params(void)
NULL,
NULL,
NULL);
EmitWarningsOnPlaceholders("age");
}

0 comments on commit 868c166

Please sign in to comment.