Re: Stored procedure array limits

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Stored procedure array limits
Дата
Msg-id 9461.1159502232@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Stored procedure array limits  ("Paul B. Anderson" <paul.a@pnlassociates.com>)
Ответы Re: Stored procedure array limits  ("Paul B. Anderson" <paul.a@pnlassociates.com>)
Список pgsql-admin
"Paul B. Anderson" <paul.a@pnlassociates.com> writes:
> I have a large stored procedure with 16 arrays, mostly varchar, each
> with dimension 3000.  The procedure works fine on a small number of rows
> used from these arrays but gets the following error for large rowsets:

>   ERROR:  invalid array subscripts

Right offhand I only see that error being thrown for out-of-range array
subscripts.  Are you maybe trying to fill the arrays in nonsequential
order?

> If I comment out two particular arrays (that can have null values), it
> also runs OK.

As already noted, we don't support nulls in arrays before 8.2, but
I'm not exactly sure how that omission leads to this error message.

            regards, tom lane

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

Предыдущее
От: Chan Michael
Дата:
Сообщение: 回覆: Re: How can I restore from WAL log? [PG 7.3]
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: autovacuum ignore tables