Search Postgresql Archives

Re: array size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It may help to specify why you feel that array_upper and array_lower are insufficient for your use.  I mean, you could “ count( unnest( array ) ) “ but whether that is better or worse than array_upper really depends on your needs.

 

David J.

 

From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of akp geek
Sent: Thursday, February 24, 2011 2:17 PM
To: pgsql-general
Subject: array size

 

Hi all -

 

              I am trying to find the number of elements in the array. Right now I am using array_upper and array_lower. Is there any other way of getting the number of elements?

 

thanks for the help

 

Regards


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux