Add option to specify segment size in blocks

Enterprise / PostgreSQL - Andres Freund [anarazel.de] - 8 December 2022 03:32 UTC

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 Discussion: https://postgr.es/m/20221107171355.c23fzwanfzq2pmgt@awork3.anarazel.de

d3b111e320 Add option to specify segment size in blocks
.cirrus.yml | 2 ++
configure | 63 +++++++++++++++++++++++++++++++++++-------
configure.ac | 36 ++++++++++++++++++------
doc/src/sgml/installation.sgml | 28 +++++++++++++++++++
meson.build | 24 ++++++++++++----
meson_options.txt | 3 ++
6 files changed, 132 insertions(+), 24 deletions(-)

Upstream: git.postgresql.org


  • Share