working with arrays question

Поиск
Список
Период
Сортировка
Искать

working with arrays question

От:
"Joel Joseph" <jjoseph@telusplanet.net>
Дата:
I have a simple question that I just can't get an answer to by looking at
the documentation online. Maybe someone can help me out here. Here is the
question. In plpgsql how do you set an element in an array. What I want to
do is for example:

function ...
declare
    afloat float[]; -- array of float

begin
    afloat[0] = 0.0; -- this fails, how do I do this?
end;

--

Any help would be appreciated. Thanks.


FAQ