pgsql: doc: Fix "Prev" link. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: doc: Fix "Prev" link.
Date
Msg-id E1wZAx2-000RVy-2j@gemulon.postgresql.org
Whole thread
List 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.slg01@gmail.com>
Discussion: https://postgr.es/m/aim4AZorFKaC7Wrf%40nathan
Backpatch-through: 14

Branch
------
REL_15_STABLE

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

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


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: doc: Fix "Prev" link.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix inconsistencies with pg_restore --statistics[-only]