[SQL] Determining Array size. (HACK)

2000-06-17 Thread James Carpenter
I previously asked about determining array sizes. I got a couple of direct replies.. they didn't fit my need. I am trying to get some code finished so I hacked a couple of functions together with plpgsql to solve my immediate problem. They make the assumption that NULL's are not allowed in th

[SQL] Determining Array size

2000-06-15 Thread James Carpenter
I am trying to determine the number of elements in an array. I looked through the list of loaded functions, and was unable to find one that seemed to provide this functionality. Is there some other means to detemine this? I am new to postgresql and am still trying to learn the 'ordbms way' :-