Skip to content

Commit d83da46

Browse files
committed
doc: Clarify units for io_combine_limit and io_max_combine_limit.
If these parameters are set without units, the values are interpreted as blocks. This detail was previously missing from the documentation, so this commit adds it. Backpatch to v17 where io_combine_limit was added. Author: Karina Litskevich <litskevichkarina@gmail.com> Reviewed-by: Chao Li <lic@highgo.com> Reviewed-by: Xuneng Zhou <xunengzhou@gmail.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/CACiT8iZCDkz1bNYQNQyvGhXWJExSnJULRTYT894u4-Ti7Yh6jw@mail.gmail.com Backpatch-through: 17
1 parent c0031d4 commit d83da46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/config.sgml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,6 +2697,8 @@ include_dir 'conf.d'
26972697
This parameter can only be set in
26982698
the <filename>postgresql.conf</filename> file or on the server
26992699
command line.
2700+
If this value is specified without units, it is taken as blocks,
2701+
that is <symbol>BLCKSZ</symbol> bytes, typically 8kB.
27002702
The maximum possible size depends on the operating system and block
27012703
size, but is typically 1MB on Unix and 128kB on Windows.
27022704
The default is 128kB.
@@ -2716,6 +2718,8 @@ include_dir 'conf.d'
27162718
higher than the <varname>io_max_combine_limit</varname> parameter, the
27172719
lower value will silently be used instead, so both may need to be raised
27182720
to increase the I/O size.
2721+
If this value is specified without units, it is taken as blocks,
2722+
that is <symbol>BLCKSZ</symbol> bytes, typically 8kB.
27192723
The maximum possible size depends on the operating system and block
27202724
size, but is typically 1MB on Unix and 128kB on Windows.
27212725
The default is 128kB.

0 commit comments

Comments
 (0)