| From: | Raja Sai pranav <rajasaipranav0(at)gmail(dot)com> |
|---|---|
| To: | michael(at)paquier(dot)xyz |
| Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org, idrissaajalloh(at)gmail(dot)com |
| Subject: | Re: BUG #19890: pg_receivewal advances past a truncated LZ4 WAL segment |
| Date: | 2026-11-26 21:23:22 |
| Message-ID: | CAPHduZCr7uuu+WX6T-Oi98zjBnxTRHmoSFbGtGxmBFNkiZ=BRg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Thu, Nov 26, 2026 at 7:15 AM Raja Sai pranav <rajasaipranav0(at)gmail(dot)com>
wrote:
> Fine with me to drop the test. If it helps, I will send a v2 without it.
v2 attached drops the test and keeps only the check. The commit message
now calls it a defense in depth for segments from external sources.
It applies to master and to REL_15_STABLE through REL_19_STABLE (only
line offsets on 15). On REL_15 I built it with the patch and repeated the
case by hand: with the frame's end mark cut off, the patched
pg_receivewal warns and restarts at the cut segment (0/2000000), and the
unpatched one restarts at the next (0/3000000). On master the
pg_basebackup TAP suite passes.
Regards,
Sai Pranav
| Attachment | Content-Type | Size |
|---|---|---|
| v2-0001-pg_receivewal-Skip-a-completed-LZ4-segment-whose-.patch | text/x-patch | 2.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Raja Sai pranav | 2026-11-26 21:22:00 | Re: BUG #19928: pg_upgrade fails on v18 schema with NOT NULL ... NO INHERIT and inheritance |