[PATCH] typo fix in collationcmds.c: "if they are distinct"

Started by Anton Voloshinalmost 5 years ago2 messages
#1Anton Voloshin
a.voloshin@postgrespro.ru
1 attachment(s)

Hello,

just a quick patch for a single-letter typo in a comment
in src/backend/commands/collationcmds.c
...
      * set of language+region combinations, whereas the latter only returns
-    * language+region combinations of they are distinct from the language's
+    * language+region combinations if they are distinct from the language's
      * base collation.  So there might not be a de-DE or en-GB, which 
would be
...
(please see the attached patch).

--
Anton Voloshin
Postgres Professional: https://www.postgrespro.com
Russian Postgres Company

Attachments:

collationcmds-typo-if-they-are-distinct.patchtext/plain; charset=UTF-8; name=collationcmds-typo-if-they-are-distinct.patchDownload
diff --git a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c
index 55a0e24a35..b8ec6f5756 100644
--- a/src/backend/commands/collationcmds.c
+++ b/src/backend/commands/collationcmds.c
@@ -577,7 +577,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS)
     * We use uloc_countAvailable()/uloc_getAvailable() rather than
     * ucol_countAvailable()/ucol_getAvailable().  The former returns a full
     * set of language+region combinations, whereas the latter only returns
-    * language+region combinations of they are distinct from the language's
+    * language+region combinations if they are distinct from the language's
     * base collation.  So there might not be a de-DE or en-GB, which would be
     * confusing.
     */
#2Michael Paquier
michael@paquier.xyz
In reply to: Anton Voloshin (#1)
Re: [PATCH] typo fix in collationcmds.c: "if they are distinct"

On Sun, Apr 04, 2021 at 03:49:35PM +0300, Anton Voloshin wrote:

just a quick patch for a single-letter typo in a comment
in src/backend/commands/collationcmds.c
...

Thanks, fixed. This came from 51e225d.
--
Michael