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 18:39:03
Message-ID: 579200A6-9D29-4A3A-A3EC-EDC1CE94A2F5@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Aug 11, 2010, at 11:35 AM, Andrew Dunstan wrote:

>> for i in select array_subscripts(myarray, 1) loop ...
>
> That's not a built-in function AFAIK.

Pavel pointed out to me only yesterday that it is:

http://www.postgresql.org/docs/current/static/functions-srf.html#FUNCTIONS-SRF-SUBSCRIPTS

Best,

david

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-08-11 18:42:12 Re: BUG #5607: memmory leak in ecpg
Previous Message Andrew Dunstan 2010-08-11 18:35:27 Re: string_to_array with an empty input string