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

Tatsuo Ishii ishii at sraoss.co.jp
Sun Jun 26 19:18:22 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_1_STABLE

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

Modified Files
--------------
src/test/pgpool_setup.in | 43 +++++++++++++++----------------------------
1 file changed, 15 insertions(+), 28 deletions(-)



More information about the pgpool-committers mailing list