Allow units to be specified with configuration settings.
authorMuhammad Usama <m.usama@gmail.com>
Fri, 19 Jun 2020 21:44:50 +0000 (02:44 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Fri, 19 Jun 2020 21:44:50 +0000 (02:44 +0500)
commitb0f976bef7c115d959b2e1c818caab729d9445ba
tree491cbe01abf995ff74d116874b7aa946d4414283
parent22930861c4006d230361be3779a84da3d0d24b66
Allow units to be specified with configuration settings.

The bulk of the code for this feature is stolen from PostgreSQL source
so making the pgpool configuration file syntax more inline with that of PG's

Similarly, PGPOOL SHOW command now outputs units along with value

postgres=# pgpool show search_primary_node_timeout;
search_primary_node_timeout
-----------------------------
5min
(1 row)
doc/src/sgml/config.sgml
src/config/pool_config.c
src/config/pool_config.l
src/config/pool_config_variables.c
src/include/pool_config_variables.h
src/sample/pgpool.conf.sample-logical
src/sample/pgpool.conf.sample-replication
src/sample/pgpool.conf.sample-stream