[pgpool-committers: 6789] pgpool: Allow units to be specified with configuration settings.

Muhammad Usama m.usama at gmail.com
Sat Jun 20 06:50:41 JST 2020


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)

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b0f976bef7c115d959b2e1c818caab729d9445ba

Modified Files
--------------
doc/src/sgml/config.sgml                  |  24 ++
src/config/pool_config.c                  | 187 +++++++-------
src/config/pool_config.l                  |   3 +-
src/config/pool_config_variables.c        | 403 +++++++++++++++++++++++++++---
src/include/pool_config_variables.h       |  14 ++
src/sample/pgpool.conf.sample-logical     |  12 +-
src/sample/pgpool.conf.sample-replication |  12 +-
src/sample/pgpool.conf.sample-stream      |  12 +-
8 files changed, 525 insertions(+), 142 deletions(-)



More information about the pgpool-committers mailing list