doc: Fix "Prev" link.

Nathan Bossart <nathan@postgresql.org>

Commit: 924172c56549c39362d64cf01e312a8be229509f
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2026-06-15T17:16:38Z
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

Files

PathChange+/−
doc/src/sgml/stylesheet-speedup-xhtml.xsl modified +1 −1

Discussion