From 460c298b6dbe189acfc289fef0e0158c6dd5a6ab Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 19 Sep 2024 09:47:22 -0400
Subject: [PATCH] doc PG relnotes:  rename commit link paragraph for clarity

FYI, during PDF builds, this link type generates a "Unresolved ID
reference found" warning because it is suppressed from the PDF output.

Backpatch-through: 12
---
 doc/src/sgml/release.sgml      | 2 +-
 doc/src/sgml/stylesheet-fo.xsl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml
index 18c5c65a523..4dcb612949d 100644
--- a/doc/src/sgml/release.sgml
+++ b/doc/src/sgml/release.sgml
@@ -71,7 +71,7 @@ For new features, add links to the documentation sections.
    review, so each item is truly a community effort.
   </para>
 
-  <para id="release-no-print-output">
+  <para id="release-commit-links">
    Section markers (&sect;) in the release notes link to <ulink
    url="https://git.postgresql.org/gitweb/?p=postgresql.git"><application>gitweb</application></ulink>
    pages which show the primary <application>git</application> commit
diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl
index 4c254a84a18..73f83c27ce9 100644
--- a/doc/src/sgml/stylesheet-fo.xsl
+++ b/doc/src/sgml/stylesheet-fo.xsl
@@ -17,7 +17,7 @@
 </xsl:template>
 
 <!-- Also suppress the description of the section markers in print mode -->
-<xsl:template match="appendix[@id='release']//para[@id='release-no-print-output']">
+<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']">
   <!-- Output nothing for this para -->
 </xsl:template>
 
-- 
2.39.5