pgsql: Add option to specify segment size in blocks

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add option to specify segment size in blocks
Date: 2022-12-08 03:36:05
Message-ID: E1p37hc-002SMN-Ss@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)anarazel(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Etsuro Fujita 2022-12-08 07:26:48 pgsql: Remove new structure member from ResultRelInfo.
Previous Message Amit Kapila 2022-12-08 00:49:21 pgsql: Avoid unnecessary streaming of transactions during logical repli