Search Postgresql Archives

Re: how to get size of array in function

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

 



Amit Soni <amit_soni@xxxxxxxxxxxxx> schrieb:

> Hi list,
> i made one  function and the argument of that function is string array,
> 
> now how can i get the size of that array??

Please read
http://www.postgresql.org/docs/8.1/interactive/functions-array.html

You can use array_lower/array_upper or array_dims.


HTH, Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


[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