Thread: array index access outside range

array index access outside range

From
Achilleas Mantzios
Date:
Hello list,
Let's suppose that we have an inteher array "parents"
select parents from machdefs where defid=888;
{1,2,3}
Currently accessing parents[0] returns a null, which is reasonable,
and i am thinking of relying on this assumption.

The question is, will it be safe to do that?
Is there any thoughts/needs/discussions of changing this behaviour in a future version
thus breaking my program?

Thanx a lot
-- 
Achilleas Mantzios