Wrong results using initcap() with non normalized string - Mailing list pgsql-hackers

From Juan José Santamaría Flecha
Subject Wrong results using initcap() with non normalized string
Date
Msg-id CAC+AXB0hi9FRMma2uVXAjfn16QPt3x1gphiECqFddSD7EBeW2Q@mail.gmail.com
Whole thread Raw
Responses Re: Wrong results using initcap() with non normalized string
List pgsql-hackers
Hello,

I have come around a strange situation when using a unicode string
that has non normalized characters. The attached script 'initcap.sql'
can reproduce the problem.

The attached patch can fix the issue.

Regards,

Juan José Santamaría Flecha

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: log bind parameter values on error
Next
From: David Fetter
Date:
Subject: Re: Efficient output for integer types