POC: contrib/unaccent as IMMUTABLE

Поиск
Список
Период
Сортировка
От Petru Ghita
Тема POC: contrib/unaccent as IMMUTABLE
Дата
Msg-id CALv_7oVkmY9k6DVp47kqoJZZSp4tN7qjxdTuJrUbc7tNuvDXGQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

Would it be possible to mark functions in contrib/unnaccent [1] as IMMUTABLE?

We would gain the possibility to use it to enforce uniqueness.

I understand that the main drawback is that unicode rules are
periodically updated. So it would be needed to reindex indices on
unaccent() after upgrade.

Thank you,
petru ghita

[1] https://github.com/postgres/postgres/tree/master/contrib/unaccent



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Parallel copy
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: VACUUM PARALLEL option vs. max_parallel_maintenance_workers