Re: string_to_array with empty input

From: Greg Stark <stark(at)enterprisedb(dot)com>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: string_to_array with empty input
Date: 2009-03-31 14:44:49
Message-ID: 4136ffa0903310744p40c318fche8c3b87b035ec450@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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.

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-03-31 14:53:34 Re: Server Performance
Previous Message Greg Stark 2009-03-31 14:43:37 Re: string_to_array with empty input

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-03-31 14:46:59 Re: Partitioning feature ...
Previous Message Greg Stark 2009-03-31 14:43:37 Re: string_to_array with empty input