Re: Fast REVERSE() function?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Mario Weilguni <mario(dot)weilguni(at)icomedias(dot)com>
Cc: Chris Browne <cbbrowne(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fast REVERSE() function?
Date: 2008-09-08 16:10:25
Message-ID: 48C54E71.5030805@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-09-08 16:16:31 Re: For what should pg_stop_backup wait?
Previous Message Pavel Stehule 2008-09-08 16:07:44 Re: Fast REVERSE() function?