From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pg_combinebackup: Use new routine to retrieve data of PG_VERSION |
Date: | 2025-10-15 01:01:21 |
Message-ID: | E1v8ptJ-001jlQ-2Y@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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 <michael(at)paquier(dot)xyz>
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Discussion: https://postgr.es/m/aOiirvWJzwdVCXph@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e4775e42cadeaa918bf5e10bf17056c51d5e16e2
Modified Files
--------------
src/bin/pg_combinebackup/pg_combinebackup.c | 65 ++++-------------------------
1 file changed, 9 insertions(+), 56 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-10-15 01:18:33 | pgsql: pg_resetwal: Use new routine to retrieve data of PG_VERSION |
Previous Message | Masahiko Sawada | 2025-10-15 00:36:31 | pgsql: Revert "pg_createsubscriber: Add log message when no publication |