Add option to specify segment size in blocks

Andres Freund <andres@anarazel.de>

Commit: d3b111e3205b6e681e16b4f8e6ed01f67142ce7b
Author: Andres Freund <andres@anarazel.de>
Date: 2022-12-08T03:32:59Z
Releases: 16.0
Add option to specify segment size in blocks

The tests don't have much coverage of segment related code, as we don't create
large enough tables. To make it easier to test these paths, add a new option
specifying the segment size in blocks.

Set the new option to 6 blocks in one of the CI tasks. Smaller numbers
currently fail one of the tests, for understandable reasons.

While at it, fix some segment size related issues in the meson build.

Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20221107171355.c23fzwanfzq2pmgt@awork3.anarazel.de

Files

PathChange+/−
.cirrus.yml modified +2 −0
configure modified +53 −10
configure.ac modified +27 −9
doc/src/sgml/installation.sgml modified +28 −0
meson.build modified +19 −5
meson_options.txt modified +3 −0

Documentation touched

Discussion