Re: str_casefold: fix typo in error message

Steven Niu <niushiji@gmail.com>

From: Steven Niu <niushiji@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-01-13T02:16:29Z
Lists: pgsql-hackers
From: Chao Li <li.evan.chao@gmail.com>
Sent: Tuesday, January 13, 2026 10:09
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: str_casefold: fix typo in error message

Hi Hacker,Found this issue while reviewing the other patch. That looks like a copy-paste error from the initial commit.Best regards,--Chao Li (Evan)HighGo Software Co., Ltd.https://www.highgo.com/


Hi, Evan, 

I have a comment. Since it is collid that's being checked and will be used by function pg_newlocale_from_collation(), so I think the change should be:

-						"lower()"),
+						"pg_newlocale_from_collation(()"),

thought? 

Regards,
Steven


Commits

  1. Fix error message typo.