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

From Andrew Dunstan
Subject Re: Fast REVERSE() function?
Date
Msg-id 48C54E71.5030805@dunslane.net
Whole thread Raw
In response to Re: Fast REVERSE() function?  ("Mario Weilguni" <mario.weilguni@icomedias.com>)
Responses Re: Fast REVERSE() function?  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers

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.

Perl's reverse might work with UTF8 - I've never tried.

cheers

andrew


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: Fast REVERSE() function?
Next
From: Simon Riggs
Date:
Subject: Re: For what should pg_stop_backup wait?