Add missing EmitWarningsOnPlaceholders() calls.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1fada5d81e6769ded832a4ca62ee9371bac3fb9f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-12-21T17:12:24Z
Releases: 15.0
Add missing EmitWarningsOnPlaceholders() calls.

Extensions that define any custom GUCs should call
EmitWarningsOnPlaceholders after doing so, to help catch misspellings.
Many of our contrib modules hadn't gotten the memo on that, though.

Also add such calls to src/test/modules extensions that have GUCs.
While these aren't really user-facing, they should illustrate good
practice not faulty practice.

Shinya Kato

Discussion: https://postgr.es/m/524fa2c0a34f34b68fbfa90d0760d515@oss.nttdata.com

Files

Discussion