array_dims array_lower/upper distance

From: Matthew Peter <survivedsushi(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: array_dims array_lower/upper distance
Date: 2005-09-21 06:46:20
Message-ID: 20050921064620.27845.qmail@web35206.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Wondering if there's a way for postgres to return how
many elements are in a array as a single integer? For
instance, returning 10 (items in array) instead of
[-5:4]

Also, is there a way to return the position of an item
in a array?


__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bjørn T Johansen 2005-09-21 06:47:02 Re: Help trying to write my first plpgsql function...
Previous Message suresh ramasamy 2005-09-21 04:03:37 Re: help me pls