Re: Incorrect version number given to sync_pgdata() in pg_combinebackup.c

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-13T23:40:45Z
Lists: pgsql-hackers
On Fri, Oct 10, 2025 at 02:39:58PM +0800, Chao Li wrote:
> Yeah, looks like a stupid bug. read_pg_version_file() has multiplied
> 10000 to version number.

Thanks for the review.  Applied this one down to v17.
--
Michael

Commits

  1. Fix version number calculation for data folder flush in pg_combinebackup