Re: [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path

Sami Imseih <samimseih@gmail.com>

From: Sami Imseih <samimseih@gmail.com>
To: Michael Paquier <michael@paquier.xyz>, paul.bunn@icloud.com
Cc: pgsql-hackers@postgresql.org
Date: 2026-03-06T13:29:08Z
Lists: pgsql-hackers

Attachments

> See v3.

ugh, the .out file was not updated. v4 fixes that.

Paul, can you create a commitfest entry [1] for this
as a bug fix? This will need to go on all stable versions.

[1] [https://commitfest.postgresql.org/59/]

--
Sami Imseih
Amazon Web Services (AWS)

Commits

  1. Fix size underestimation of DSA pagemap for odd-sized segments