| From: | ZizhuanLiu X-MAN <44973863(at)qq(dot)com> |
|---|---|
| To: | ZizhuanLiu X-MAN <44973863(at)qq(dot)com>, rring0727 <rring0727(at)gmail(dot)com>, cca5507 <cca5507(at)qq(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Return value of XLogInsertRecord() for XLOG_SWITCH record |
| Date: | 2026-06-15 01:17:20 |
| Message-ID: | tencent_9284DC37B02538354C63127C731B256DC006@qq.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I am so sorry. rebase v3 and v4.
regards,
--
ZizhuanLiu (X-MAN)
44973863(at)qq(dot)com
>Original
>From: ZizhuanLiu X-MAN <44973863(at)qq(dot)com>
>Date: 2026-06-14 22:37
>To: rring0727 <rring0727(at)gmail(dot)com>, cca5507 <cca5507(at)qq(dot)com>
>Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
>Subject: Re: Return value of XLogInsertRecord() for XLOG_SWITCH record
>
>
>rebase v4.
>
>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
>44973863(at)qq(dot)com
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-Keep-the-return-value-of-XLogInsertRecord-for-XLO.patch | application/octet-stream | 3.5 KB |
| v3-0001-Keep-the-return-value-of-XLogInsertRecord-for-XLO.patch | application/octet-stream | 1002 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Henson Choi | 2026-06-15 01:56:12 | Re: Row pattern recognition |
| Previous Message | Michael Paquier | 2026-06-15 01:14:46 | Re: Use \if/\endif to remove non-libxml2 expected output in regression tests |