Re: fix prev link in docs - Mailing list pgsql-hackers

From Ayush Tiwari
Subject Re: fix prev link in docs
Date
Msg-id CAJTYsWWymXv868ySytxQvRx+RMCUwrNTwTEhyWAD+dJCBBZHuA@mail.gmail.com
Whole thread
In response to fix prev link in docs  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: fix prev link in docs
List pgsql-hackers
Hi,

On Thu, 11 Jun 2026 at 00:46, Nathan Bossart <nathandbossart@gmail.com> wrote:
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.

Thanks for the patch.

I tested it and with patch the Prev tab works fine towards 45.6.
(previous chapter's end)

Regards,
Ayush 

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] seg: preserve the upper boundary's certainty indicator in seg_out()
Next
From: Álvaro Herrera
Date:
Subject: Re: Do quoting more carefully in replication commands