Re: [HACKERS] string_to_array with empty input

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, justin <justin(at)emproshunts(dot)com>, Greg Stark <stark(at)enterprisedb(dot)com>, Sam Mason <sam(at)samason(dot)me(dot)uk>, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] string_to_array with empty input
Date: 2009-04-07 16:05:59
Message-ID: 58438B5F-9D3B-4830-849A-9E4C19FE598B@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2009-04-07 18:28:41 Re: tsearch2 dictionary for statute cites
Previous Message James B. Byrne 2009-04-07 15:50:43 Re: INSERT or UPDATE TRIGGER

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2009-04-07 16:40:49 Solution of the file name problem of copy on windows.
Previous Message Sam Mason 2009-04-07 15:53:59 NaN support in NUMERIC data type