Re: Fast REVERSE() function? - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Fast REVERSE() function?
Date
Msg-id 162867790809080933o2b894c5ej5599213f26f30827@mail.gmail.com
Whole thread Raw
In response to Re: Fast REVERSE() function?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
2008/9/8 Andrew Dunstan <andrew@dunslane.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: For what should pg_stop_backup wait?
Next
From: "Pavel Stehule"
Date:
Subject: sql2008 diff sql2003