Emit a warning if the extension's GUC is set incorrectly - Mailing list pgsql-hackers

From Shinya Kato
Subject Emit a warning if the extension's GUC is set incorrectly
Date
Msg-id 524fa2c0a34f34b68fbfa90d0760d515@oss.nttdata.com
Whole thread Raw
Responses Re: Emit a warning if the extension's GUC is set incorrectly
List pgsql-hackers
Hi hackers,

If wrong GUCs of auth_delay, pg_trgm, postgres_fdw and sepgsql are 
described in postgresql.conf, a warning is not emitted unlike 
pg_stat_statements, auto_explain and pg_prewarm.
So, I improved it by adding EmitWarningsOnPlaceholders.
An example output is shown below.
---
2021-11-14 18:18:16.486 JST [487067] WARNING:  unrecognized 
configuration parameter "auth_delay.xxx"
---

What do you think?

-- 
Regards,

--
Shinya Kato
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Attachment

pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: Commitfest 2021-11 Patch Triage - Part 2
Next
From: Amit Langote
Date:
Subject: Re: support for MERGE