Re: string_to_array with an empty input string

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
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 18:35:27
Message-ID: 4C62ED6F.7070008@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 08/11/2010 01:59 PM, David E. Wheeler wrote:
> 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 ...
>
>

That's not a built-in function AFAIK.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2010-08-11 18:39:03 Re: string_to_array with an empty input string
Previous Message Heikki Linnakangas 2010-08-11 18:26:58 Re: 16/32/48/64 bytes integers