Add pg_strtoupper and pg_strtolower functions

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Add pg_strtoupper and pg_strtolower functions
Дата
Msg-id CALj2ACW4k3BHafYZ2RsqOEosY53VwSmCY8aT5Swt7ZDTFpxAHQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Add pg_strtoupper and pg_strtolower functions  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Re: Add pg_strtoupper and pg_strtolower functions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Hi,

I came across pg_toupper and pg_tolower functions, converting a single
character, are being used in loops to convert an entire
null-terminated string. The cost of calling these character-based
conversion functions (even though small) can be avoided if we have two
new functions pg_strtoupper and pg_strtolower.

Attaching a patch with these new two functions and their usage in most
of the possible places in the code.

Thoughts?

Regards,
Bharath Rupireddy.

Вложения

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

Предыдущее
От: Baca Radim
Дата:
Сообщение: Item compression in the Gist index
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Progress report removal of temp files and temp relation files using ereport_startup_progress