hi,
I met an issue ,could you help have a look at it?
reproduce:
- set parameter log_connections(default value is off) to on in ppgool.conf
log_connections = on
- then use psql connect to pgpool and run show command.
ppgool show log_connections;
log_connections
-----------------
on
- \q and terminate the connection.
- comment this parameter in pgpool.conf.
# log_connections = on
- do reload
./pgpool -f ../etc/pgpool.conf reload
- use psql connect to pgpool again and run show command.
ppgool show log_connections;
log_connections
-----------------
on
my concern:
for my understanding, in step 6, the result should be recovered to default value? right?
I checked code, when parent process received reload sig, it will send this sig to all child processes, then child call check_config_reload()->pool_get_config() to reload config file, but it will ignore commented lines in pgpool.conf, so the commented lines would not be recovered to default value.
I'm not quite sure if this is the original design intention.
Thanks a lot!
hi,
I met an issue ,could you help have a look at it?
reproduce:
log_connections = on# log_connections = on./pgpool -f ../etc/pgpool.conf reload
my concern:
for my understanding, in step 6, the result should be recovered to default value? right?
I checked code, when parent process received reload sig, it will send this sig to all child processes, then child call check_config_reload()->pool_get_config() to reload config file, but it will ignore commented lines in pgpool.conf, so the commented lines would not be recovered to default value.
I'm not quite sure if this is the original design intention.
Thanks a lot!