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

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

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

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



More information about the pgpool-committers mailing list