Обсуждение: pgsql: Add option to specify segment size in blocks

Поиск
Список
Период
Сортировка

pgsql: Add option to specify segment size in blocks

От
Andres Freund
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d3b111e3205b6e681e16b4f8e6ed01f67142ce7b

Modified Files
--------------
.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(-)