pg_combinebackup: Use new routine to retrieve data of PG_VERSION
authorMichael Paquier <[email protected]>
Wed, 15 Oct 2025 00:54:56 +0000 (09:54 +0900)
committerMichael Paquier <[email protected]>
Wed, 15 Oct 2025 00:54:56 +0000 (09:54 +0900)
commite4775e42cadeaa918bf5e10bf17056c51d5e16e2
tree4326dfa9e21e9677b487515bdb0486cfb73007c5
parent45a7faf130176ae7c152413967c7c90068476a94
pg_combinebackup: Use new routine to retrieve data of PG_VERSION

pg_combinebackup's custom logic to retrieve the version number of a data
folder's PG_VERSION can be replaced by the facility introduced in
cd0be131ba6f.  This removes some code.

One thing specific to this tool is that backend versions older than v10
are not supported.  The new code does the same checks as the previous
code.

Author: Michael Paquier <[email protected]>
Reviewed-by: Masahiko Sawada <[email protected]>
Discussion: https://postgr.es/m/[email protected]
src/bin/pg_combinebackup/pg_combinebackup.c