Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wZvky-001Phw-2B for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 19:17:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZvkv-007KP2-1w for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 19:16:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wZvkv-007KOu-0z for pgsql-hackers@lists.postgresql.org; Wed, 17 Jun 2026 19:16:57 +0000 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZvkt-00000000qku-33JU for pgsql-hackers@postgresql.org; Wed, 17 Jun 2026 19:16:56 +0000 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-442a79dd881so42612fac.2 for ; Wed, 17 Jun 2026 12:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781723814; x=1782328614; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=L9sMQ26gLCo+3/usxWD3v37x3beRqecr178zf90qoVY=; b=l2RxNAjfRgPwBQYOw2oubJyRobh3fciLLcAOKYcRtrHC45xaGICZmnt0mH7AqERUtC 58yrBtBANnJ2hSC2eGiwePsJt3eoKL48f5Zbeb3Vzx8osCpJbK7e8IOgXUEcglJGPiMU e2yVHTWI/W8kwX5nrMY/TNnmp/gGltbjDaLAfc4begKa4RELQ1kQu2av2C7EoLN1MJWq mnHk+i0UdjmvMtHizuMWE/Wim5wj4aE5vg5gQ5/LBazVzpGzmpjBs+XlBDZVHjMSHZz4 4DqxKqrXhR5GC/4STKNirvsT9/sQ9gUmfgMnGUJQKW2+4oM//dbvx4knj06vyYNQ2bGB IUqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781723814; x=1782328614; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L9sMQ26gLCo+3/usxWD3v37x3beRqecr178zf90qoVY=; b=pi4m2LugFVuF9/2VDLIHntBGkjxFleooH+vCPNWXHWBdT3PU1UPNJ/1wwmv4UvWafQ RdQUpl3Gvzny5tm8aXJLOBxlbQd/lPBckv7rFclEO3CHxuP04IMDYo6st/vU8UDKju0T k5xLBlZE58olvKNafXYduTPPqLF8/ECEm+T9oSevTBe/DjfpQFZmjJwr74tAwtMHD55n MINgD3lwjmvV1RO3LZqyOT41iPnxF7ay44gfN6YcEAMVJeftDywN/QpjmLegku1kZI2X 1o7jykKrq0uucI5MKwFr+9gdqFLZ1DsG6oVymM9Dohx+CtHb+9ToJ0+/P1RlUUQcK3dn 5mDA== X-Forwarded-Encrypted: i=1; AFNElJ9t25gvGFgg0J254Vss2BsP7qOHZV6pHuKKHgjTa87aToAstCcVf7PPhYZC+UwvPyIoX9B9PlUocU9BdRzC@postgresql.org X-Gm-Message-State: AOJu0YzZR4ihZ9RozmQlXozLNZsUfaXq1I+OrfR1lpF8eA6vo3o5Mzfb UkteHkpydAXslDoaIO3n/sor/qGKaG3+qJ/gehJ1LmDrjTz+2diQZu4T X-Gm-Gg: Acq92OEdwfz9l1lrPFsHwDqTVIIFDPiDDkCkoVmwKkyTybgbSukbXvcnRpmaNOp/zoA 1lEgbzb08O+2Nb42LIlEk3kF4PfVMjl1p/ttF40ox0wZPBWa7g7Zc2LtQQ39+ajG+qRWeqAN+03 vOC2pcB8oAf9RCwNM9q/YS8yA7rJEcWAbnYLZA+xW+gAIoQtyM9hpwsOhrB9T2PNoQvU6n2CyyE 4p0K71/HrCQCq/upUEtEEkwz5VPh27fSswOpG8zaR3W0RNtK3DaWYUcIplW0e6mpyLXLMs6sCnY aG3v/eQT4jLruffwOtY1WrlorPNNiKZbLLvnWga92QM2mRpgvhBwraDNZ42UoPOJ1LDDbOQSFiY gfEK0VnEJY3QNGOPPwIod9RicJqZriUOhBAU7IqJFTW7V4zK2eFL6OdEGTij/IrX3JJ/gb0205+ 5mH0/qfEzWiv/YRluTwAkMjsXT5qlk X-Received: by 2002:a05:6808:144a:b0:486:560d:aa8e with SMTP id 5614622812f47-48957241cc5mr525114b6e.22.1781723814552; Wed, 17 Jun 2026 12:16:54 -0700 (PDT) Received: from nathan ([157.185.103.226]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7e79f5bb5fcsm10517236a34.9.2026.06.17.12.16.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2026 12:16:53 -0700 (PDT) Date: Wed, 17 Jun 2026 14:16:51 -0500 From: Nathan Bossart To: Tom Lane Cc: Ayush Tiwari , pgsql-hackers@postgresql.org Subject: Re: fix prev link in docs Message-ID: References: <1132496.1781718007@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="KWjQWajUkO+TqJsG" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --KWjQWajUkO+TqJsG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 17, 2026 at 12:47:04PM -0500, Nathan Bossart wrote: > Oh, interesting. I somehow hadn't noticed that in my testing. I had a > more invasive form of the patch that I think might improve matters. > Double-checking... The attached should resolve the issue without regressing build time. -- nathan --KWjQWajUkO+TqJsG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v2-0001-fix-prev-link-take-2.patch From 35799a190e8a43a78df7ce1ef3f53ebea97dffe0 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Wed, 17 Jun 2026 14:14:43 -0500 Subject: [PATCH v2 1/1] fix prev link, take 2 --- doc/src/sgml/stylesheet-speedup-xhtml.xsl | 52 +++++++++++------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/doc/src/sgml/stylesheet-speedup-xhtml.xsl b/doc/src/sgml/stylesheet-speedup-xhtml.xsl index a3b3692ba03..0700023c47b 100644 --- a/doc/src/sgml/stylesheet-speedup-xhtml.xsl +++ b/doc/src/sgml/stylesheet-speedup-xhtml.xsl @@ -183,32 +183,32 @@ + select="(preceding::*[self::book + or self::preface + or self::chapter + or self::appendix + or self::part + or self::reference + or self::refentry + or self::colophon + or self::article + or self::topic + or self::bibliography[parent::article or parent::book or parent::part] + or self ::glossary[parent::article or parent::book or parent::part] + or self::index[$generate.index != 0] + [parent::article or parent::book or parent::part] + or self::setindex[$generate.index != 0] + or self::sect1][1] + |ancestor::*[self::set + or self::book + or self::preface + or self::chapter + or self::appendix + or self::part + or self::reference + or self::article + or self::topic + or self::sect1][1])[last()]"/>