array index access outside range

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема array index access outside range
Дата
Msg-id 200812041702.19184.achill@matrix.gatewaynet.com
обсуждение исходный текст
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Gary Stainburn
Дата:
Сообщение: constraint question (I think)
Следующее
От: Gary Stainburn
Дата:
Сообщение: Re: Trigger/Function - one solution - was constraint question (I think)