Re: [19] Proposal: function markers to indicate collation/ctype sensitivity

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: [19] Proposal: function markers to indicate collation/ctype sensitivity
Дата
Msg-id f111a9ff69d4eb1efb84578a0a006c2668bb984c.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: [19] Proposal: function markers to indicate collation/ctype sensitivity  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: [19] Proposal: function markers to indicate collation/ctype sensitivity
Список pgsql-hackers
On Wed, 2025-06-04 at 11:33 -0400, David E. Wheeler wrote:
> I understand the need to trace these dependencies, but as a function
> developer with relatively modest understanding of collation nuances,
> I’m wondering how I’d know I needed these markers. It seems
> complicated. Which leads me to think that adoption would be low
> outside of core.

In the proposal, I mentioned adding runtime checks as future work.
Perhaps that would be a requirement for this proposal so that users
could get a warning? We could also make the markers negative, so that
the default is to assume that a UDF with collatable inputs depends on
all of the behaviors.

Regards,
    Jeff Davis




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