Proposal: make the online recovery database configurable

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: Proposal: make the online recovery database configurable
Date: 2025-06-27 00:00:00
Message-ID: TYWP286MB2633AE885026741B927F84BBF27AA@TYWP286MB2633.JPNP286.PROD.OUTLOOK.COM
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-hackers

Currently, the online recovery database is hardcoded to "template1".
It would be helpful in some use cases to make this configurable.

The attached patch adds a new configuration parameter, "recovery_database",
which allows the online recovery database to be configured.
The default is set to "template1" for backward compatibility.

Any suggestions on changing the default value to "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/

Attachment Content-Type Size
recovery_database_v1.patch application/octet-stream 20.7 KB

Responses

Browse pgpool-hackers by date

  From Date Subject
Next Message Bo Peng 2025-06-30 06:33:06 Default value of health_check_database
Previous Message Bo Peng 2025-06-19 05:42:43 Fix source code typo