From 7fc41791403188a75b2d1791c061f2a3cb21df3b Mon Sep 17 00:00:00 2001
From: "Chao Li (Evan)" <lic@highgo.com>
Date: Thu, 11 Dec 2025 17:54:53 +0800
Subject: [PATCH v1] Docs: Standardize "cannot" usage in SGML source

Replaced the three instances of "can not" with the single-word form,
"cannot", in `doc/src/sgml` for consistency. The documentation
overwhelmingly uses "cannot" (818 occurrences), and this change
enforces a uniform style.

Author: Chao Li <lic@highgo.com>
---
 doc/src/sgml/ecpg.sgml                | 2 +-
 doc/src/sgml/func/func-aggregate.sgml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 807dadcb4a3..734a2df69e8 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -6959,7 +6959,7 @@ EXEC SQL [ AT <replaceable class="parameter">connection_name</replaceable> ] DEC
      The namespace of the declaration is the precompile unit, and multiple
      declarations to the same SQL statement identifier are not allowed.
      Note that if the precompiler runs in Informix compatibility mode and
-     some SQL statement is declared, "database" can not be used as a cursor
+     some SQL statement is declared, "database" cannot be used as a cursor
      name.
     </para>
    </refsect1>
diff --git a/doc/src/sgml/func/func-aggregate.sgml b/doc/src/sgml/func/func-aggregate.sgml
index f50b692516b..8031cde2c96 100644
--- a/doc/src/sgml/func/func-aggregate.sgml
+++ b/doc/src/sgml/func/func-aggregate.sgml
@@ -431,7 +431,7 @@
         Collects all the key/value pairs into a JSON object.  Key arguments
         are coerced to text; value arguments are converted as per
         <function>to_json</function> or <function>to_jsonb</function>.
-        The <parameter>key</parameter> can not be null. If the
+        The <parameter>key</parameter> cannot be null. If the
         <parameter>value</parameter> is null then the entry is skipped,
        </para></entry>
        <entry>No</entry>
@@ -489,7 +489,7 @@
         Collects all the key/value pairs into a JSON object.  Key arguments
         are coerced to text; value arguments are converted as per
         <function>to_json</function> or <function>to_jsonb</function>.
-        The <parameter>key</parameter> can not be null. If the
+        The <parameter>key</parameter> cannot be null. If the
         <parameter>value</parameter> is null then the entry is skipped.
         If there is a duplicate key an error is thrown.
        </para></entry>
-- 
2.39.5 (Apple Git-154)

