Let us rebase v3 first .

regards,
--
ZizhuanLiu (X-MAN) 
[email protected]


>Original
>From: ZizhuanLiu X-MAN <[email protected]>
>Date: 2026-06-14 22:37
>To: rring0727 <[email protected]>, cca5507 <[email protected]>
>Cc: pgsql-hackers <[email protected]>
>Subject: Re: Return value of XLogInsertRecord() for XLOG_SWITCH record
>
>Early v2/v3 only fixed the page-cross judgment condition, but still retained 
>duplicated
>EndPos calculation logic. v4 refactors ReserveXLogSwitch to compute standard 
>EndPos 
>once and reuse it, eliminating redundant code fundamentally.
>
>All behavior remains identical to v2/v3 after fix; v4 just unifies the 
>calculation
>point without changing runtime logic.
>
>
>ZizhuanLiu X-MAN
>[email protected]

Attachment: v3-0001-Keep-the-return-value-of-XLogInsertRecord-for-XLO.patch
Description: Binary data

Reply via email to