]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Fix link text for data checksums
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 16 Jul 2026 14:05:36 +0000 (16:05 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 16 Jul 2026 14:05:36 +0000 (16:05 +0200)
commit0de346f464b1efd2bfa74fb22c1d6ffe2f733b63
tree38313de12c142931f55c4f29c4a63c96c31a974d
parentf4f77f557bb1a173f82be42770a28758732f4cc0
doc: Fix link text for data checksums

Commit 67846550dc6d removed the xreflabels for initdb options, which
turned the sentence "The second field contains the page checksum if
data checksums are enabled" into "The second field contains the page
checksum if -k are enabled", as well "Only has effect if data checksums
are enabled" into "Only has effect if -k are enabled".

Fix by setting an explicit link text, and while there also change the
link to point to the data checksum page which has more information
than just the initdb option.

The original report was for one instance, further inspection turned
up quite a few more cases.  Also redirect the link in the amcheck
docs which albeit was reading right, but will be more helpful if
linking to the main page on data checksums.  Backpatch to v18 where
the xreflabels were removed.

Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: y.saburov@gmail.com
Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>
Discussion: https://postgr.es/m/178350739237.73862.4549076173872335741@wrigleys.postgresql.org
Backpatch-through: 18
doc/src/sgml/amcheck.sgml
doc/src/sgml/config.sgml
doc/src/sgml/storage.sgml