• B
    Refactor GUC set_config_option function: · f91ddb76
    Bruce Momjian 提交于
    The main reason for refactoring was that set_config_option() was too
    overloaded function and its behavior did not consistent. Old version of
    set_config_function hides some messages. For example if you type:
    
    tcp_port = 5432.1
    
    then old implementation ignore this error without any message to log
    file in the signal context (configuration reload). Main problem was that
    semantic analysis of postgresql.conf is not perform in the
    ProcessConfigFile function, but in the set_config_options *after*
    context check. This skipped check for variables with PG_POSTMASTER
    context. There was request from Joachim Wieland to add more messages
    about ignored changes in the config file as well.
    
    Zdenek Kotala
    f91ddb76
guc-file.l 12.1 KB