]> granicus.if.org Git - postgresql/commit
Remove the custom_variable_classes parameter.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Oct 2011 16:36:18 +0000 (12:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Oct 2011 16:36:55 +0000 (12:36 -0400)
commit1a00c0ef5368bb7b8ddcb3cf279df36577918ac4
tree6d3017ad1c31ee414539a78c9ae65e2f0ce180a6
parent76074fcaa04fb5d35e8cf7716587440e3d075d50
Remove the custom_variable_classes parameter.

This variable provides only marginal error-prevention capability (since
it can only check the prefix of a qualified GUC name), and the consensus
is that that isn't worth the amount of hassle that maintaining the setting
creates for DBAs.  So, let's just remove it.

With this commit, the system will silently accept a value for any qualified
GUC name at all, whether it has anything to do with any known extension or
not.  (Unqualified names still have to match known built-in settings,
though; and you will get a WARNING at extension load time if there's an
unrecognized setting with that extension's prefix.)

There's still some discussion ongoing about whether to tighten that up and
if so how; but if we do come up with a solution, it's not likely to look
anything like custom_variable_classes.
15 files changed:
doc/src/sgml/auth-delay.sgml
doc/src/sgml/auto-explain.sgml
doc/src/sgml/config.sgml
doc/src/sgml/pgstatstatements.sgml
doc/src/sgml/plperl.sgml
doc/src/sgml/plpgsql.sgml
src/backend/utils/misc/guc-file.l
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/pl/plperl/expected/plperl_init.out
src/pl/plperl/expected/plperl_shared.out
src/pl/plperl/expected/plperlu.out
src/pl/plperl/sql/plperl_init.sql
src/pl/plperl/sql/plperl_shared.sql
src/pl/plperl/sql/plperlu.sql