Re: START_REPLICATION silently truncates an overlong LSN component

From: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
To: ♂π≌26218 <1991230470(at)qq(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Subject: Re: START_REPLICATION silently truncates an overlong LSN component
Date: 2026-09-10 13:41:34
Message-ID: CAJTYsWWN82LQzaVPX4D-P_yhooMf18OZ_6uO7jxdbrMaq1KexA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

Thanks for the report.

We introduced pg_parse_lsn() function for such issues.

It seems we should add it here to, attached patch does that.
[Added a TAP test in patch, but I dont think it needs to be committed]

I wonder if we should make the same change in libpqwalreceiver too.

Regards,
Ayush

>

Attachment Content-Type Size
v1-0001-Use-pg_parse_lsn-for-START_REPLICATION.patch application/octet-stream 2.5 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2026-09-10 13:49:00 Re: BUG #19682: Unable to drop a user with default privileges revoked
Previous Message Andrey Rachitskiy 2026-09-10 13:28:22 Re: Hunspell AF alias count silently wraps to a smaller value