diff options
| author | Andres Freund <andres@anarazel.de> | 2022-12-07 19:32:59 -0800 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2022-12-07 19:32:59 -0800 |
| commit | d3b111e3205b6e681e16b4f8e6ed01f67142ce7b (patch) | |
| tree | cdbac630df05839fb164f6726115b9f8dd2369d5 /doc/src | |
| parent | bf07ab492c461460b4a69279abb2ef996b4f67ec (diff) | |
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 'doc/src')
| -rw-r--r-- | doc/src/sgml/installation.sgml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index f64f3290447..ef50d1a6e8f 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1681,6 +1681,20 @@ build-postgresql: </para> </listitem> </varlistentry> + + <varlistentry> + <term><option>--with-segsize-blocks=SEGSIZE_BLOCKS</option></term> + <listitem> + <para> + Specify the segment size in blocks. If both + <option>--with-segsize</option> and this option are specified, this + option wins. + + This option is only for developers, to test segment related code. + </para> + </listitem> + </varlistentry> + </variablelist> </sect3> @@ -3097,6 +3111,20 @@ ninja install </para> </listitem> </varlistentry> + + <varlistentry> + <term><option>-Dsegsize_blocks=SEGSIZE_BLOCKS</option></term> + <listitem> + <para> + Specify the segment size in blocks. If both + <option>-Dsegsize</option> and this option are specified, this option + wins. + + This option is only for developers, to test segment related code. + </para> + </listitem> + </varlistentry> + </variablelist> </sect3> </sect2> |
