Re: Reuse of REF Cursor

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reuse of REF Cursor
Дата
Msg-id 2692336.1618164572@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Re: Reuse of REF Cursor  ("Abraham, Danny" <danny_abraham@bmc.com>)
Ответы RE: Re: Reuse of REF Cursor  ("Abraham, Danny" <danny_abraham@bmc.com>)
Список pgsql-general
"Abraham, Danny" <danny_abraham@bmc.com> writes:
> 2021-04-09 08:00:08.692 IDTERROR:  canceling statement due to statement timeout

I don't know why you would think that a statement timeout is somehow
the fault of the refcursor variable you used.  You need to look at
whether your timeout is a sane value, and if so, why it is that
something else is blocking your query for longer than that.
Looking into pg_locks might help identify what the "something else"
is.

            regards, tom lane



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

Предыдущее
От: "Abraham, Danny"
Дата:
Сообщение: RE: Re: Reuse of REF Cursor
Следующее
От: Igor Korot
Дата:
Сообщение: How can I insert the image as a blob in the table