On Jan 9, 2008 8:14 AM, cdecarlo <[EMAIL PROTECTED]> wrote:
> On Jan 8, 11:35 am, [EMAIL PROTECTED] (Tom Lane) wrote:
> >
> > The rest of your message suggests that what you want is not that at all,
> > but to set the other variable to an array that consists of one or
> > moreelements
> > from the
On Wed, Jan 09, 2008 at 06:14:10AM -0800, cdecarlo wrote:
> Maybe, an example will help you understand what I want to do:
>
> Let myArray be {{1,2,3},{4,5,6},{7,8,9}} and suppose the element I'm
> looking for has, in it's first index, an even number. I would loop
> through myArray looking at the f
On Jan 8, 11:35 am, [EMAIL PROTECTED] (Tom Lane) wrote:
> cdecarlo <[EMAIL PROTECTED]> writes:
> > I'm new to pl/pgsql and postgres and I need some help with a part of
> > my function. In the function I loop through a multidemensional array
> > ( [n][3] ), once, while inside the loop, I find the i
cdecarlo <[EMAIL PROTECTED]> writes:
> I'm new to pl/pgsql and postgres and I need some help with a part of
> my function. In the function I loop through a multidemensional array
> ( [n][3] ), once, while inside the loop, I find the index I want to
> work with I would like to set a separate variab
Hello,
I'm new to pl/pgsql and postgres and I need some help with a part of
my function. In the function I loop through a multidemensional array
( [n][3] ), once, while inside the loop, I find the index I want to
work with I would like to set a separate variable equal to the element
in the array