Re: proposal: support empty string as separator for string_to_array - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal: support empty string as separator for string_to_array
Date
Msg-id 162867790907271003n9a6a8f5wb8ff7ea51130e8a9@mail.gmail.com
Whole thread Raw
In response to Re: proposal: support empty string as separator for string_to_array  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
2009/7/27 Kevin Grittner <Kevin.Grittner@wicourts.gov>:
> Pavel Stehule <pavel.stehule@gmail.com> wrote:
>
>> I tested  implementation and it's about 30% faster than using
>> regexp.
>
> Rather than making a change which could break existing applications,
> how about a new function string_to_array(text) which returns an array
> of "char"?

yes, it was my idea too - or function "chars_to_array"

Pavel

>
> -Kevin
>


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: proposal: support empty string as separator for string_to_array
Next
From: Tom Lane
Date:
Subject: Re: WIP: Deferrable unique constraints