| From: | Bo Peng <pengbo(at)sraoss(dot)co(dot)jp> |
|---|---|
| To: | "pgpool-hackers(at)lists(dot)postgresql(dot)org" <pgpool-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Default value of health_check_database |
| Date: | 2025-06-30 06:33:06 |
| Message-ID: | TYWP286MB2633D01E61A63DCEACCF6F76F246A@TYWP286MB2633.JPNP286.PROD.OUTLOOK.COM |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-hackers |
The default value of "health_check_database" in the source code is "postgres".
https://github.com/pgpool/pgpool2/blob/master/src/config/pool_config_variables.c#L1895
However, in the sample configuration file and documentation, the default is shown as an empty string (''):
(pgpool.conf)
#health_check_database = ''
(documetation)
https://www.pgpool.net/docs/latest/en/html/runtime-config-health-check.html#GUC-HEALTH-CHECK-DATABASE
| Specifies the PostgreSQL database name to perform health check. The default is ''(empty),
| which tries "postgres" database first, then "template1" database until it succeeds
Should we update the sample file and documentation to reflect the actual default value "postgres"?
---
Bo Peng <pengbo(at)sraoss(dot)co(dot)jp>
SRA OSS K.K.
TEL: 03-5979-2701 FAX: 03-5979-2702
URL: https://www.sraoss.co.jp/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2025-06-30 07:04:29 | Re: Default value of health_check_database |
| Previous Message | Bo Peng | 2025-06-27 00:00:00 | Proposal: make the online recovery database configurable |