Re: [BUGS] wrong inicializied array in plpgsql

2003-09-14 Thread Tom Lane
Pavel Stehule <[EMAIL PROTECTED]> writes: > I am testing long array values. I tryed write simple function in plpgsql > for this. I found maybe a bug. Array in plpgsql without explicit init > (empty array) don't work; This isn't a bug; or at least, it's not plpgsql's fault. The array variable is

[BUGS] wrong inicializied array in plpgsql

2003-09-14 Thread Pavel Stehule
Hello I am testing long array values. I tryed write simple function in plpgsql for this. I found maybe a bug. Array in plpgsql without explicit init (empty array) don't work; CREATE OR REPLACE FUNCTION foo1() RETURNS FLOAT AS ' DECLARE f FLOAT []; BEGIN f[1] := 10.0; RETURN f[1]; END' LANGU