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 <[email protected]>
Reported-by: [email protected]
Reviewed-by: Laurenz Albe <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/30c0442eb308cdb9a0d1b8551758775ec4d0e75d

Modified Files
--------------
doc/src/sgml/amcheck.sgml | 5 ++---
doc/src/sgml/config.sgml  | 2 +-
doc/src/sgml/storage.sgml | 2 +-
3 files changed, 4 insertions(+), 5 deletions(-)

Reply via email to