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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 86d9888) | patch
Rethink handling of settings with a prefix reserved by an extension.
2021年12月27日 19:35:50 +0000 (14:35 -0500)
2021年12月27日 19:35:50 +0000 (14:35 -0500)
commit 2ed8a8cc5b634d33ea07d681c6b02213da07f792
Rethink handling of settings with a prefix reserved by an extension.

Commit 75d22069e made SET print a warning if you tried to set an
unrecognized parameter within namespace previously reserved by an
extension. It seems better for that to be an outright error though,
for the same reason that we don't let you set unrecognized unqualified
parameter names. In any case, the preceding implementation was
inefficient and erroneous. Perform the check in a more appropriate
spot, and be more careful about prefix-match cases.

Discussion: https://postgr.es/m/116024.1640111629@sss.pgh.pa.us
src/backend/utils/misc/guc.c diff | blob | blame | history
src/test/regress/expected/guc.out diff | blob | blame | history
src/test/regress/sql/guc.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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