agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Fix "Prev" link, take 2.
Date: Thu, 18 Jun 2026 14:32:17 +0000
Message-ID: <E1waDmz-000sSA-0e@gemulon.postgresql.org> (raw)

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

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1fec5ddfdc2d39188cde6cd6494c5e1f9d0a9ddd

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



view thread (6+ messages)  latest in thread

Message-ID: <E1waDmz-000sSA-0e@gemulon.postgresql.org>
Permalink:  ../E1waDmz-000sSA-0e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1waDmz-000sSA-0e@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Fix "Prev" link, take 2.
  In-Reply-To: <E1waDmz-000sSA-0e@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox