Re: citext function overloads for text parameters

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: citext function overloads for text parameters
Дата
Msg-id CAFj8pRA4cDW3hZOLJP_=XMEcH06CNHRWv8DeDONv_Bv0ZVojnw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: citext function overloads for text parameters  (Shay Rojansky <roji@roji.org>)
Список pgsql-hackers


2018-05-06 14:55 GMT+02:00 Shay Rojansky <roji@roji.org>:
Thanks for your answer Pavel.

This is expected - it is side effect of PostgreSQL implementation of function overloading and type conversions

after installation citext, you will have more instances of function strpos

strpos(citext, citext)
strpos(text, text)

Do you think it would be appropriate to simply add an strpos(citext, text) overload to the extension to make sure this behaves more as expected? If so I can try to submit a patch at some point.

It has sense in this case. But I have not a idea if there can be some more broken.

regards

Pavel

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

Предыдущее
От: Shay Rojansky
Дата:
Сообщение: Re: citext function overloads for text parameters
Следующее
От: Andrew Dunstan
Дата:
Сообщение: perlcritic and perltidy