Re: array size

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: array size
Дата
Msg-id 009901cbd459$b18b8600$14a29200$@yahoo.com
обсуждение исходный текст
Ответ на array size  (akp geek <akpgeek@gmail.com>)
Список pgsql-general

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@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of akp geek
Sent: Thursday, February 24, 2011 2:17 PM
To: pgsql-general
Subject: [GENERAL] 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

В списке pgsql-general по дате отправления:

Предыдущее
От: akp geek
Дата:
Сообщение: array size
Следующее
От: John R Pierce
Дата:
Сообщение: Re: database is bigger after dump/restore - why? (60 GB to 109 GB)