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

Tatsuo Ishii ishii at sraoss.co.jp
Thu Jun 23 10:08:46 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
------
master

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

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



More information about the pgpool-committers mailing list