]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Fix "Prev" link, take 2.
authorNathan Bossart <nathan@postgresql.org>
Thu, 18 Jun 2026 14:31:27 +0000 (09:31 -0500)
committerNathan Bossart <nathan@postgresql.org>
Thu, 18 Jun 2026 14:31:27 +0000 (09:31 -0500)
commit1fec5ddfdc2d39188cde6cd6494c5e1f9d0a9ddd
tree51c258fd25b1f40fb3abaa4c0e369a1df903fbd1
parent39e649d44a1db44cabbff43047f257cba213261e
doc: Fix "Prev" link, take 2.

Commit 6678b58d78 fixed a wrong "Prev" link by changing the link
generation code to use [position()=last()] instead of [last()] in
the predicate on the union of reverse axes.  Unfortunately, that
caused documentation builds to take much longer.  To fix, combine
the "preceding" and "ancestor" steps into one "preceding" step and
one "ancestor" step, and revert the predicate back to [last()].
The smaller union evades the libxml2 bug while avoiding the build
time regression.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Tested-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1132496.1781718007%40sss.pgh.pa.us
Backpatch-through: 14
doc/src/sgml/stylesheet-speedup-xhtml.xsl