Re: [HACKERS] string_to_array with empty input - Mailing list pgsql-general

From David E. Wheeler
Subject Re: [HACKERS] string_to_array with empty input
Date
Msg-id 58438B5F-9D3B-4830-849A-9E4C19FE598B@kineticode.com
Whole thread Raw
In response to Re: [HACKERS] string_to_array with empty input  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-general
On Apr 7, 2009, at 8:07 AM, Steve Crawford wrote:

> In scenario 2, there were two options:
> 2a. Return zero-element array.
> 2b. Return array with single empty-string element.
>
> My impression was that among the "change" options, 2b had the most
> support (it is the most useful for the use-cases I've encountered so
> it gets my vote). If the consensus is to change the function, it may
> be too late for 8.4. But the documentation could be updated to
> reflect current and planned behavior.

+1

David

pgsql-general by date:

Previous
From: "James B. Byrne"
Date:
Subject: Re: INSERT or UPDATE TRIGGER
Next
From: "Kevin Grittner"
Date:
Subject: Re: tsearch2 dictionary for statute cites