[pgpool-committers: 7646] pgpool: Fix watchdog_setup.

Tatsuo Ishii ishii at sraoss.co.jp
Fri Apr 30 19:51:44 JST 2021


Fix watchdog_setup.

watchdog_setup creates database cluster entity under pgpool0. In other
pgpool nodes's pgpool.conf just has the port number for PostgreSQL in
pgpool0.  But backend_data_directory remains their own PostgreSQL
cluster. For example:

backend_data_directory0 = '/home/t-ishii/work/Pgpool-II/current/x/pgpool2/data0'

This is fine until online recovery runs. If it referrers to the database
cluster directory, which is not correct of course.

Fix this by replacing database cluster directories with symlinks to
pgppol/data0 and so on. This will reduce disk space.

Also fix usage message that now Snapshot Isolation mode is supported.

Branch
------
master

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

Modified Files
--------------
src/test/watchdog_setup.in | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list