Re: string_to_array with an empty input string

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Greg Stark <gsstark(at)mit(dot)edu>, Thom Brown <thom(at)linux(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: string_to_array with an empty input string
Date: 2010-08-11 20:52:42
Message-ID: 11727.1281559962@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com> writes:
> What's wrong with something like array_is_empty(anyarray) returns
> boolean?

What's that got to do with iterating over an array? We could certainly
provide it if it were commonly useful, but I'm not convinced of that.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-08-11 21:10:02 Re: Git conversion progress report and call for testing assistance
Previous Message Andrew Dunstan 2010-08-11 20:51:13 Re: Regression tests versus the buildfarm environment