git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0e6e7f0) | patch
Add missing EmitWarningsOnPlaceholders() calls.
2021年12月21日 17:12:24 +0000 (12:12 -0500)
2021年12月21日 17:12:24 +0000 (12:12 -0500)
commit 1fada5d81e6769ded832a4ca62ee9371bac3fb9f
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
contrib/auth_delay/auth_delay.c diff | blob | blame | history
contrib/pg_trgm/trgm_op.c diff | blob | blame | history
contrib/postgres_fdw/option.c diff | blob | blame | history
contrib/sepgsql/hooks.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/pl/tcl/pltcl.c diff | blob | blame | history
src/test/modules/delay_execution/delay_execution.c diff | blob | blame | history
src/test/modules/ssl_passphrase_callback/ssl_passphrase_func.c diff | blob | blame | history
src/test/modules/worker_spi/worker_spi.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /