Re: Issues with blocksize smaller than 8KB

Casey & Gina <cg@osss.net>

From: Casey & Gina <cg@osss.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Álvaro Herrera <alvherre@kurilemu.de>, pgsql-bugs@lists.postgresql.org
Date: 2025-10-19T19:42:23Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add static assertion that RELSEG_SIZE fits in an int.

On Oct 19, 2025, at 2:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Incautious use of --with-segsize could perhaps result in RELSEG_SIZE
> being too big for an int ...

This must have been it, though the same --with-segsize value worked for larger blocksizes.

Perhaps configure could throw an error if too large of a value were to be used, but happy for the explanation...