Hi,
On Wed, 25 Nov 2026 at 22:34, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>
> In pg_rewind findLastCheckpoint() there is a buffer size mismatch when
> composing a WAL file name. You can't actually overflow the buffer, so
> it's harmless, but when playing with compiler annotations, I see this
> getting flagged, because it's rather obviously incorrect on some level,
> so I think it's worth fixing. See attached patch for details.
+1, patch Lgtm.
(Could not find any other place doing the same offset trick)
Regards,
Ayush