pgsql: Add option to specify segment size in blocks - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add option to specify segment size in blocks
Date
Msg-id E1p37hc-002SMN-Ss@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Avoid unnecessary streaming of transactions during logical repli
Next
From: Etsuro Fujita
Date:
Subject: pgsql: Remove new structure member from ResultRelInfo.