Skip site navigation (1) Skip section navigation (2)

Re: proposal: support empty string as separator for string_to_array

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Merlin Moncure" <mmoncure(at)gmail(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: proposal: support empty string as separator for string_to_array
Date: 2009-07-27 16:55:32
Message-ID: 4A6D95B40200002500028D92@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-hackers
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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"?
 
-Kevin

In response to

Responses

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2009-07-27 17:03:49
Subject: Re: proposal: support empty string as separator for string_to_array
Previous:From: Pavel StehuleDate: 2009-07-27 16:42:06
Subject: Re: proposal: support empty string as separator for string_to_array

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group