]> git.ipfire.org Git - thirdparty/postgresql.git/commit
doc: Fix "Prev" link.
authorNathan Bossart <nathan@postgresql.org>
Mon, 15 Jun 2026 17:16:38 +0000 (12:16 -0500)
committerNathan Bossart <nathan@postgresql.org>
Mon, 15 Jun 2026 17:16:38 +0000 (12:16 -0500)
commitd018e927bc89a85d1363e6b0d863003d0be0c7e0
treed74ebe61acf7a095d6e725551cccab26c8c92e25
parent0f63b74a47307bf00fd6301cc3612f9db924a0d1
doc: Fix "Prev" link.

Presently, the "Prev" link on the page for background workers sends
you to the middle of the previous chapter instead of the actual
previous page.  This appears to be caused by a libxml2 bug, but
regardless, a minimal fix is to change the link generation code to
use [position()=last()] instead of [last()] in the predicate on the
union of reverse axes.

Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Discussion: https://postgr.es/m/aim4AZorFKaC7Wrf%40nathan
Backpatch-through: 14
doc/src/sgml/stylesheet-speedup-xhtml.xsl