[pgpool-committers: 8693] pgpool: Allow to run pgpool_setup on PostgreSQL 15.

Tatsuo Ishii ishii at sraoss.co.jp
Sun Jun 26 19:18:32 JST 2022


Allow to run pgpool_setup on PostgreSQL 15.

basebackup.sh created by pgpool_setup uses pg_start_backup() and
pg_stop_backup().  PostgreSQL 15 renamed them. But there's more
problem. The renamed functions (pg_backup_start() and
pg_backup_stop()) must be called within a same connection. Adapting
these requires non-trivial changes. So I decided to rewrite the code
to not use pg_start_backup() and pg_stop_backup() so that it uses
pg_basebackup command instead.

Per https://www.pgpool.net/mantisbt/view.php?id=757

Branch
------
V4_3_STABLE

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

Modified Files
--------------
src/test/pgpool_setup.in | 45 ++++++++++++++-------------------------------
1 file changed, 14 insertions(+), 31 deletions(-)



More information about the pgpool-committers mailing list