Re: case and accent insensitive search under Python ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: case and accent insensitive search under Python ?
Дата
Msg-id 2310992.1692452130@sss.pgh.pa.us
обсуждение исходный текст
Ответ на case and accent insensitive search under Python ?  (M4X <77M1C@gmx.com>)
Список pgsql-general
M4X <77M1C@gmx.com> writes:
> It seem that is possible to make a search that is case and accent
> insensitive.
> |I've dig https://www.postgresql.org/docs/current/textsearch-intro.html
> and other resources,|
> |but I didn't find yet an example that demonstrate it.

The text search functionality is already case-insensitive, but not
accent-insensitive (at least in the common built-in configurations).
To make it accent-insensitive, you can set up a custom configuration
using the "unaccent" module.  See

https://www.postgresql.org/docs/current/unaccent.html

            regards, tom lane



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

Предыдущее
От: Pierre Forstmann
Дата:
Сообщение: how to use query_tree_walker to get all relations used in a query
Следующее
От: Justin Clift
Дата:
Сообщение: Re: PG minor version in data directory?