pgsql: Remove the custom_variable_classes parameter.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove the custom_variable_classes parameter.
Дата
Msg-id E1RB7zk-0007GT-Mz@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1a00c0ef5368bb7b8ddcb3cf279df36577918ac4

Modified Files
--------------
doc/src/sgml/auth-delay.sgml                  |    6 +-
doc/src/sgml/auto-explain.sgml                |    6 +-
doc/src/sgml/config.sgml                      |   57 ++-------
doc/src/sgml/pgstatstatements.sgml            |    7 +-
doc/src/sgml/plperl.sgml                      |    4 -
doc/src/sgml/plpgsql.sgml                     |    7 +-
src/backend/utils/misc/guc-file.l             |  114 ++----------------
src/backend/utils/misc/guc.c                  |  159 ++-----------------------
src/backend/utils/misc/postgresql.conf.sample |    2 +-
src/pl/plperl/expected/plperl_init.out        |    2 +-
src/pl/plperl/expected/plperl_shared.out      |    2 +-
src/pl/plperl/expected/plperlu.out            |    2 +-
src/pl/plperl/sql/plperl_init.sql             |    2 +-
src/pl/plperl/sql/plperl_shared.sql           |    2 +-
src/pl/plperl/sql/plperlu.sql                 |    2 +-
15 files changed, 51 insertions(+), 323 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: itagaki@pgfoundry.org (User Itagaki)
Дата:
Сообщение: textsearch-ja - textsearch_groonga: Support server version 9.1 and
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Use callbacks in SlruScanDirectory for the actual action