Skip site navigation (1) Skip section navigation (2)

number of elements in a multidimensional array

From: "SunWuKung" <Balazs(dot)Klein(at)t-online(dot)hu>
To: pgsql-general(at)postgresql(dot)org
Subject: number of elements in a multidimensional array
Date: 2006-08-31 15:17:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
>From this array how could I get back the fact that this array consists
of a two dimensional array with X elements?

Select array_dims('{{1,4,10,11},{1,5,4,5}}'::text [])

I would like to get back the number 4 here?

Thanks for the help.


pgsql-general by date

Next:From: Joshua D. DrakeDate: 2006-08-31 15:18:59
Subject: Re: Fatal error while installing
Previous:From: Greg Sabino MullaneDate: 2006-08-31 15:02:49
Subject: Re: Cutting the Gborg throat

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group