Re: [HACKERS] string_to_array with empty input

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Greg Stark <stark(at)enterprisedb(dot)com>
Cc: 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-01 15:17:42
Message-ID: 603c8f070904010817r6d1dc678nc368e667d2bcb65b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, Mar 31, 2009 at 10:44 AM, Greg Stark <stark(at)enterprisedb(dot)com> wrote:
> On Tue, Mar 31, 2009 at 3:42 PM, Sam Mason <sam(at)samason(dot)me(dot)uk> wrote:
>>
>>  string_to_array('',',')::INT[]  => invalid input syntax for integer: ""
>
> Oof. That's a good point.

+1. I find this argument much more compelling than anything else
that's been offered up so far.

...Robert

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-04-01 15:41:31 Re: [GENERAL] Re: [GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 2354 of relation…
Previous Message Justin Funk 2009-04-01 15:14:45 Retain PREPARE or connect trigger

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-04-01 15:22:30 Re: Patch to speed up pg_dump
Previous Message Vincze, Tamas 2009-04-01 14:47:51 Patch to speed up pg_dump