Re: Fast REVERSE() function?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Fast REVERSE() function?
Дата
Msg-id 20080908160339.GA10410@depesz.com
обсуждение исходный текст
Ответ на Fast REVERSE() function?  (Chris Browne <cbbrowne@acm.org>)
Список pgsql-hackers
On Mon, Sep 08, 2008 at 11:20:18AM -0400, Chris Browne wrote:
> I've got a case where I need to reverse strings, and find that, oddly
> enough, there isn't a C-based reverse() function.
> A search turns up pl/pgsql and SQL implementations:

just for completenes - there is also pl/perl and c versions freely
available:
http://www.depesz.com/index.php/2007/07/30/indexable-field-like-something/
(pl/perl)
http://blog.frosties.org/post/2007/08/28/Fonction-reverse-C-avec-PostgreSQL
(c)

Best regards,

depesz

-- 
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007


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

Предыдущее
От: "Mario Weilguni"
Дата:
Сообщение: Re: Fast REVERSE() function?
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Fast REVERSE() function?