Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j3lqQ-0004cX-0S for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Feb 2020 19:14:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j3lqO-0004In-QW for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Feb 2020 19:14:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j3lqO-0004If-Cm for pgsql-hackers@lists.postgresql.org; Mon, 17 Feb 2020 19:14:12 +0000 Received: from mail.verite.pro ([185.16.44.216]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3lqM-0000KY-1b for pgsql-hackers@postgresql.org; Mon, 17 Feb 2020 19:14:11 +0000 Received: from genius-map.net (verite.pro [195.154.189.246]) by mail.verite.pro (Postfix) with ESMTP id 2B9E88C001E; Mon, 17 Feb 2020 20:06:24 +0100 (CET) Received: by genius-map.net (Postfix, from userid 1001) id 6FFC538A0EC6; Mon, 17 Feb 2020 20:14:08 +0100 (CET) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Unicode normalization SQL functions From: "Daniel Verite" To: "Peter Eisentraut" Cc: "Andreas Karlsson" ,"pgsql-hackers" In-Reply-To: Date: Mon, 17 Feb 2020 20:14:03 +0100 Message-Id: X-Mailer: Manitou v1.7.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk One nitpick: Around this hunk: - * unicode_normalize_kc - Normalize a Unicode string to NFKC form. + * unicode_normalize - Normalize a Unicode string to the specified form. * * The input is a 0-terminated array of codepoints. * @@ -304,8 +306,10 @@ decompose_code(pg_wchar code, pg_wchar **result, int *current) * string is palloc'd instead, and OOM is reported with ereport(). */ The comment in full says: /*=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20 * unicode_normalize - Normalize a Unicode string to the specified form.=20= =20=20=20=20=20 *=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20 * The input is a 0-terminated array of codepoints.=09=09=09=20=20=20=20=20= =20 *=09=09=09=09=09=09=09=09=09=20=20=20=20=20=20 * In frontend, returns a 0-terminated array of codepoints, allocated with= =20=20=20=20 * malloc. Or NULL if we run out of memory. In frontend, the returned=09=20= =20=20=20=20=20 * string is palloc'd instead, and OOM is reported with ereport().=09=20=20= =20=20=20=20 */ It looks like the 2nd occurrence of "frontend" was meant to be "backend". Best regards, --=20 Daniel V=E9rit=E9 PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite