summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-12-07 19:32:59 -0800
committerAndres Freund <andres@anarazel.de>2022-12-07 19:32:59 -0800
commitd3b111e3205b6e681e16b4f8e6ed01f67142ce7b (patch)
treecdbac630df05839fb164f6726115b9f8dd2369d5 /meson_options.txt
parentbf07ab492c461460b4a69279abb2ef996b4f67ec (diff)
downloadpostgresql-d3b111e3205b6e681e16b4f8e6ed01f67142ce7b.tar.gz
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
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 2c871969f5..4141fa5b2d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -13,6 +13,9 @@ option('wal_blocksize', type : 'combo',
option('segsize', type : 'integer', value : 1,
description : '''Segment size, in gigabytes''')
+option('segsize_blocks', type : 'integer', value: 0,
+ description : '''Segment size, in blocks''')
+
# Miscellaneous options