Thank you for taking a look at this and that sounds good. I will send over a patch compatible with Postgres v16.
Justin
From: Tom Lane <tgl@sss.pgh.pa.us> Sent: July 17, 2022 2:40 PM To: Justin Kwan <justinpkwan@outlook.com> Cc: pgsql-hackers <pgsql-hackers@postgresql.org>; vignesh <vignesh@cloudflare.com>; jkwan@cloudflare.com <jkwan@cloudflare.com>; vignesh ravichandran <admin@viggy28.dev>; hlinnaka@iki.fi <hlinnaka@iki.fi> Subject: Re: Making pg_rewind faster
Justin Kwan <justinpkwan@outlook.com> writes: > I've also attached the pg_rewind optimization patch file for Postgres version 14.4. The previous patch file targets version Postgres version 15 Beta 1/2.
It's very unlikely that we would consider committing such changes into released branches. In fact, it's too late even for v15. You should be submitting non-bug-fix patches against master (v16-to-be).