Re: [HACKERS] string_to_array with empty input
От
David E. Wheeler
Тема
Re: [HACKERS] string_to_array with empty input
Дата
Msg-id
B30A76B4-3912-4125-BADD-B2ABA1ABEC5C@kineticode.com
Ответ на
Список
Дерево обсуждения
string_to_array with empty input Steve Crawford <scrawford@pinpointresearch.com>
Re: string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Brendan Jurd <direvus@gmail.com>
Re: [HACKERS] string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: string_to_array with empty input Greg Stark <stark@enterprisedb.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input justin <justin@emproshunts.com>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input Steve Crawford <scrawford@pinpointresearch.com>
Re: [HACKERS] string_to_array with empty input "Leif B. Kristensen" <leif@solumslekt.org>
Re: [HACKERS] string_to_array with empty input Steve Crawford <scrawford@pinpointresearch.com>
Re: [HACKERS] string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input Steve Crawford <scrawford@pinpointresearch.com>
Re: [HACKERS] string_to_array with empty input justin <justin@emproshunts.com>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input justin <justin@emproshunts.com>
Re: [HACKERS] string_to_array with empty input Martin Gainty <mgainty@hotmail.com>
Re: [HACKERS] string_to_array with empty input Justin <justin@emproshunts.com>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: [HACKERS] string_to_array with empty input Greg Stark <stark@enterprisedb.com>
Re: [HACKERS] string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] string_to_array with empty input Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: [HACKERS] string_to_array with empty input justin <justin@emproshunts.com>
Re: string_to_array with empty input Greg Stark <stark@enterprisedb.com>
Re: string_to_array with empty input justin <justin@emproshunts.com>
Re: string_to_array with empty input Greg Stark <stark@enterprisedb.com>
Re: string_to_array with empty input justin <justin@emproshunts.com>
Re: string_to_array with empty input Greg Stark <stark@enterprisedb.com>
Re: string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: string_to_array with empty input Greg Stark <stark@enterprisedb.com>
Re: string_to_array with empty input Sam Mason <sam@samason.me.uk>
Re: string_to_array with empty input justin <justin@emproshunts.com>
Re: [HACKERS] string_to_array with empty input "David E. Wheeler" <david@kineticode.com>
Re: string_to_array with empty input Justin <justin@emproshunts.com>
Re: string_to_array with empty input Greg Stark <greg.stark@enterprisedb.com>
On Apr 1, 2009, at 10:05 AM, justin wrote:
> string_to_array('',',')::INT[] works as proposed
>
> But
> string_to_array(',,,', ',' )::INT[] Fails
> or
> string_to_array('1,2,,4', ',' )::INT[] Fails .
>
>
> I'm trying to understand the difference between a empty string to a
> string with many blank entries between the delimiter.
> Consider ',,,,,,' = '' once the delimiter is removed . Yet
> Seven zero length entries were passed. How is that going to be
> handled????
Right, it's making a special case of '', which does seem rather
inconsistent to me.
Best,
David
В списке pgsql-general по дате отправления