Fix error message typo.
authorJeff Davis <jdavis@postgresql.org>
Tue, 13 Jan 2026 03:05:29 +0000 (19:05 -0800)
committerJeff Davis <jdavis@postgresql.org>
Tue, 13 Jan 2026 03:07:00 +0000 (19:07 -0800)
Reported-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CAEoWx2mMmm9fTZYgE-r_T-KPTFR1rKO029QV-S-6n=7US_9EMA@mail.gmail.com

src/backend/utils/adt/formatting.c

index 6affdd866246e58fc3e12563e952bc645c662ec2..cf580c63c78c17137aa77a5912af3de38a3c03a0 100644 (file)
@@ -1825,7 +1825,7 @@ str_casefold(const char *buff, size_t nbytes, Oid collid)
                ereport(ERROR,
                                (errcode(ERRCODE_INDETERMINATE_COLLATION),
                                 errmsg("could not determine which collation to use for %s function",
-                                               "lower()"),
+                                               "casefold()"),
                                 errhint("Use the COLLATE clause to set the collation explicitly.")));
        }