Re: BUG #16333: position() function not equivalent to strpos()function when comparing citext

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #16333: position() function not equivalent to strpos()function when comparing citext
Дата
Msg-id d86632ce-76fe-5a3e-abd1-f739b0e3e204@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: BUG #16333: position() function not equivalent to strpos() function when comparing citext  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 2020-04-02 23:46, Tom Lane wrote:
>> Doesn't seem fixable.  Collations are probably a better way of dealing
>> with this.
> 
> Yeah, now that we can do non-deterministic collations, it seems like
> citext is on the road to obsolescence.  Do we have a documentation
> example of how to build a simple CI collation?

Yes, in PG12 there is a "tip" box in the citext chapter with a link to 
the collation documentation which contains a command to create a 
case-insensitive collation.  So this should be pretty easy to find even 
for casual users.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16343: Build problem: Install.pm "Could not find debug or release binaries"
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue