[pgpool-committers: 7430] pgpool: Fix pgpool_setup so that it creates separate archive directory

Tatsuo Ishii ishii at sraoss.co.jp
Sun Jan 24 15:05:52 JST 2021


Fix pgpool_setup so that it creates separate archive directory for each DB node.

pgpool_setup created single archive directory for all PostgreSQL
nodes. This only works with streaming replication because only the
primary node produces archive log. However for native replication and
snapshot isolation mode this does not work as each node produces WAL.

In this fix dedicated archive directories like archivedir/data0
archivedir/data1 and so on are created.

Branch
------
V4_0_STABLE

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

Modified Files
--------------
src/test/pgpool_setup.in | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)



More information about the pgpool-committers mailing list