Andres Freund <and...@anarazel.de> writes: > On 2022-11-07 12:52:25 -0500, Tom Lane wrote: >> How about instead allowing the segment size to be set in pages?
> In addition or instead of --with-segsize/-Dsegsize? In addition to. What I meant by "instead" was to replace your proposal of --with-segsize-mb. > Just offering the number of pages seems like a not great UI. Well, it's a developer/debug focused API. I think regular users would only care for the existing --with-segsize = so-many-GB API. But for testing, I think --with-segsize-pages = so-many-pages is actually a pretty good UI. regards, tom lane