Re: Dereferencing a 2-dimensional array in plpgsql - Mailing list pgsql-general

From Tom Lane
Subject Re: Dereferencing a 2-dimensional array in plpgsql
Date
Msg-id 21760.1107198506@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dereferencing a 2-dimensional array in plpgsql  (Sven Willenberger <sven@dmv.com>)
Responses Re: Dereferencing a 2-dimensional array in plpgsql
List pgsql-general
Sven Willenberger <sven@dmv.com> writes:
> The problem stems from being unable to assign values to an array without
> first initializing the array in plpgsql.

I think we changed this in 8.0.  Before 8.0, trying to assign to an
element of a NULL array yielded a NULL result array, but I think now
we let you produce a one-element array that way.

            regards, tom lane

pgsql-general by date:

Previous
From: Együd Csaba
Date:
Subject: Re: Howto determin the number of elemnts of an array
Next
From: Michael Fuhr
Date:
Subject: Re: how to release a transaction lock on a table?