On Tue, Oct 31, 2023 at 4:12 PM 邱宇航 <iam...@gmail.com> wrote: > > > > > I thought these can also be rewrite to: > > > > if (!XLogRecHasBlockRef(record, block_id)) > > Oops, I missed that. New version is attached.
+1. Indeed a reasonable change. The attached v2 patch LGTM. -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com