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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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