Re: Too many commands in a transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Too many commands in a transaction
Дата
Msg-id 14675.1207085086@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Too many commands in a transaction  (sam <sam.mahindrakar@gmail.com>)
Список pgsql-general
sam <sam.mahindrakar@gmail.com> writes:
> ERROR: cannot have more than 2^32-1 commands in a transaction

> But this error is occuring in a function that iam least expecting it
> to occur in.

If you haven't marked the function as read-only (IMMUTABLE or STABLE)
then each statement in it counts as a command.  At least in pre-8.3
releases.  You might find that updating to 8.3 would eliminate the
need to change your code.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: simple update queries take a long time - postgres 8.3.1
Следующее
От: "Jeff Wigal (Referee Assistant)"
Дата:
Сообщение: Re: Connection reset by peer / broken pipe