2009/7/27 Tom Lane :
> Pavel Stehule writes:
>> I tested implementation and it's about 30% faster than using regexp.
>
> In a real application, that's going to be negligible compared to all the
> other costs involved in pushing the data around. And we still haven't
> seen any in-the-field reques
Pavel Stehule writes:
> I tested implementation and it's about 30% faster than using regexp.
In a real application, that's going to be negligible compared to all the
other costs involved in pushing the data around. And we still haven't
seen any in-the-field requests for this functionality, so e
On Mon, Jul 27, 2009 at 12:42 PM, Pavel Stehule wrote:
> 2009/7/25 Merlin Moncure :
>> On Fri, Jul 24, 2009 at 11:40 PM, Pavel Stehule
>> wrote:
>>> Hello
>>>
>>> I have one idea, that should simplify string to char array
>>> transformation. The base is idea: between every char is empty string,
>>
2009/7/27 Kevin Grittner :
> Pavel Stehule 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
Pavel Stehule 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"?
-Kevin
--
Sent via pgsql-hackers mailing lis
2009/7/25 Merlin Moncure :
> On Fri, Jul 24, 2009 at 11:40 PM, Pavel Stehule
> wrote:
>> Hello
>>
>> I have one idea, that should simplify string to char array
>> transformation. The base is idea: between every char is empty string,
>> so empty string is regular separator for string_to_array funct
Pavel Stehule writes:
> 2009/7/25 Tom Lane :
>> There already is a definition for what string_to_array does with an
>> empty field separator, and that is not it.
> I thing, so nobody use empty separator in string_to_array, because it
> does nothing useful.
According to you, maybe not. But perha
2009/7/25 Tom Lane :
> Pavel Stehule writes:
>> I have one idea, that should simplify string to char array
>> transformation. The base is idea: between every char is empty string,
>> so empty string is regular separator for string_to_array function.
>
> There already is a definition for what strin
Pavel Stehule writes:
> I have one idea, that should simplify string to char array
> transformation. The base is idea: between every char is empty string,
> so empty string is regular separator for string_to_array function.
There already is a definition for what string_to_array does with an
empty
2009/7/25 Merlin Moncure :
> On Fri, Jul 24, 2009 at 11:40 PM, Pavel Stehule
> wrote:
>> Hello
>>
>> I have one idea, that should simplify string to char array
>> transformation. The base is idea: between every char is empty string,
>> so empty string is regular separator for string_to_array funct
On Fri, Jul 24, 2009 at 11:40 PM, Pavel Stehule wrote:
> Hello
>
> I have one idea, that should simplify string to char array
> transformation. The base is idea: between every char is empty string,
> so empty string is regular separator for string_to_array function.
> This behave is inversion of ar
Hello
I have one idea, that should simplify string to char array
transformation. The base is idea: between every char is empty string,
so empty string is regular separator for string_to_array function.
This behave is inversion of array_to_string function behave:
postgres=# select array_to_string(
12 matches
Mail list logo