Re: [HACKERS] string_to_array with empty input

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "David E(dot) Wheeler" <david(at)kineticode(dot)com>, 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-02 18:50:57
Message-ID: 14230.1238698257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Thu, Apr 2, 2009 at 2:18 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> If there's a camp that actually *wants* a NULL result for this case,
>> I missed the reasoning.

> So that we don't break existing apps because of an issue that is
> trivial to work around.

We would only be breaking them if a NULL result were actually the
correct behavior for the application's requirements, which seems
a bit unlikely.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message dfx 2009-04-02 18:51:51 Postgresql installation with ssh connection.
Previous Message Robert Haas 2009-04-02 18:37:21 Re: [HACKERS] string_to_array with empty input

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2009-04-02 18:52:12 Re: Crash in gist insertion on pathological box data
Previous Message Tom Lane 2009-04-02 18:38:06 Re: 8.4 open items list