From c4819f375b032ed18b3d1c39a4d781a3ea70c04a Mon Sep 17 00:00:00 2001
From: PegoraroF10 <marcos@f10.com.br>
Date: Wed, 22 Apr 2026 15:37:41 -0300
Subject: [PATCH] Sometimes we have a Notes tag but it doesn't specify about
 what it is talking. So if we add a <title> to it then user doesn't need to
 read all that Note to see if it's important or not.

---
 doc/src/sgml/func/func-aggregate.sgml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/func/func-aggregate.sgml b/doc/src/sgml/func/func-aggregate.sgml
index 8b5eaeb2e94..6f92f737d58 100644
--- a/doc/src/sgml/func/func-aggregate.sgml
+++ b/doc/src/sgml/func/func-aggregate.sgml
@@ -696,6 +696,7 @@ SELECT xmlagg(x) FROM (SELECT x FROM test ORDER BY y DESC) AS tab;
   </para>
 
   <note>
+    <title>Note on bool_and and bool_or</title>
     <indexterm>
       <primary>ANY</primary>
     </indexterm>
@@ -722,6 +723,7 @@ SELECT b1 = ANY((SELECT b2 FROM t2 ...)) FROM t1 ...;
   </note>
 
   <note>
+   <title>Note on count(*)</title>
    <para>
     Users accustomed to working with other SQL database management
     systems might be disappointed by the performance of the
@@ -730,7 +732,7 @@ SELECT b1 = ANY((SELECT b2 FROM t2 ...)) FROM t1 ...;
 <programlisting>
 SELECT count(*) FROM sometable;
 </programlisting>
-    will require effort proportional to the size of the table:
+    This will require effort proportional to the size of the table:
     <productname>PostgreSQL</productname> will need to scan either the
     entire table or the entirety of an index that includes all rows in
     the table.
-- 
2.51.2.windows.1

