From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Andrew Dunstan" <andrew(at)dunslane(dot)net> |
Cc: | "Mario Weilguni" <mario(dot)weilguni(at)icomedias(dot)com>, "Chris Browne" <cbbrowne(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Fast REVERSE() function? |
Date: | 2008-09-08 16:33:26 |
Message-ID: | 162867790809080933o2b894c5ej5599213f26f30827@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2008/9/8 Andrew Dunstan <andrew(at)dunslane(dot)net>:
>
>
> Mario Weilguni wrote:
>>>
>>> (Aside: presumably we could walk thru the string destructively,
>>> in-place, swapping bytes; I think that would be theoretically
>>> quickest...)
>>>
>>
>> Hmmm... I guess it will not work für UTF-8 or any other multibyte charset
>>
>
> Yes, quite.
orafce contains multibyte (UTF8) reverse function.
Pavel
>
> Perl's reverse might work with UTF8 - I've never tried.
>
> cheers
>
> andrew
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Browne | 2008-09-08 16:37:15 | Re: Fast REVERSE() function? |
Previous Message | Simon Riggs | 2008-09-08 16:16:31 | Re: For what should pg_stop_backup wait? |