String handling function, substring vs. substr

Поиск
Список
Период
Сортировка
От arsi@aranzo.netg.se
Тема String handling function, substring vs. substr
Дата
Msg-id Pine.LNX.4.62.0610011453050.22102@aranzo.netg.se
обсуждение исходный текст
Ответы Re: String handling function, substring vs. substr  (brian <brian@zijn-digital.com>)
Список pgsql-general
Hi all,

I want to call one of the two functions above many times (in an aggregate
function) and it says in the manual pages that substr is the same as
substring.

Does this mean that substr calls substring internally?? Or is it the other
way around?? Or are they independent of each other??

So in short, which is faster to use??

Thanks,

Archie

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

Предыдущее
От: Yannick Warnier
Дата:
Сообщение: GiST and Gin technical doc
Следующее
От: brian
Дата:
Сообщение: Re: String handling function, substring vs. substr