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

Tatsuo Ishii ishii at sraoss.co.jp
Sun Jan 24 15:05:42 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
------
V3_6_STABLE

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

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



More information about the pgpool-committers mailing list