pgsql: doc: Fix "Prev" link, take 2.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Fix "Prev" link, take 2.
Date: 2026-06-18 14:32:17
Message-ID: E1waDmz-000sSE-0n@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)sss(dot)pgh(dot)pa(dot)us>
Tested-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/1132496.1781718007%40sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cfeb0b2b30f085fd24327a3950a8257ad8fa8c64

Modified Files
--------------
doc/src/sgml/stylesheet-speedup-xhtml.xsl | 52 +++++++++++++++----------------
1 file changed, 26 insertions(+), 26 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2026-06-18 15:19:59 pgsql: Avoid division-by-zero when calculating autovacuum MXID score.
Previous Message Andrew Dunstan 2026-06-18 13:42:33 pgsql: Revert non-text output formats for pg_dumpall