Re: string_to_array with an empty input string

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 17:59:54
Message-ID: 36398CBE-E833-4324-9D8A-5A44F15EFD90@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Aug 11, 2010, at 10:58 AM, Andrew Dunstan wrote:

> for i in array_lower(myarray,1) .. array_upper(myarray,1) loop ...
>
> works well

for i in select array_subscripts(myarray, 1) loop ...

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-08-11 18:05:31 Re: Regression tests versus the buildfarm environment
Previous Message Andrew Dunstan 2010-08-11 17:58:57 Re: string_to_array with an empty input string