pgsql: doc: Fix "Prev" link.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix "Prev" link.
Date: 2026-06-15 17:18:20
Message-ID: E1wZAx2-000RVp-2R@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)slg01(at)gmail(dot)com>
Discussion: https://postgr.es/m/aim4AZorFKaC7Wrf%40nathan
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6678b58d7810b7471f00af66423aecb08f87a32a

Modified Files
--------------
doc/src/sgml/stylesheet-speedup-xhtml.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2026-06-15 17:18:21 pgsql: doc: Fix "Prev" link.
Previous Message Tom Lane 2026-06-15 17:08:05 pgsql: Doc: reword discussion of asterisk after table names in FROM.