fix prev link in docs

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: fix prev link in docs
Date: 2026-06-10 19:16:17
Message-ID: aim4AZorFKaC7Wrf@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Right now, if you go to the following page and click "Prev", it'll send you
to the middle of the previous chapter:

https://www.postgresql.org/docs/devel/bgworker.html

My research indicates that this might caused by a bug in libxml2, 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. Patch attached.

--
nathan

Attachment Content-Type Size
v1-0001-fix-prev-link-in-docs.patch text/plain 856 bytes

Browse pgsql-hackers by date

  From Date Subject
Previous Message Cary Huang 2026-06-10 18:50:44 Re: [PATCH] psql: add \dcs to list all constraints