Re: uninterruptable loop: concurrent delete in progress within table

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: uninterruptable loop: concurrent delete in progress within table
Дата
Msg-id 20140530144327.GQ7857@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на uninterruptable loop: concurrent delete in progress within table  (Sandro Santilli <strk@keybit.net>)
Список pgsql-bugs
Sandro Santilli wrote:
> The attached script shows a plpgsql function that enters
> an infinite loop which is not interrupted by statement_timeout.
>
> Looping message is:
>
>  WARNING:  concurrent delete in progress within table "crash9", xid is 4458893, self is 4458894/4458889
>  CONTEXT:  SQL statement "CREATE INDEX ON crash9 USING GIST ( the_geom)"
>  PL/pgSQL function crash(regclass) line 148 at EXECUTE statement
>
> Note that the xid and self parts of the WARNING message were added by myself
> on request by "andres" (on the freenode IRC channel).
>
> I could reproduce with both 9.3.0 and 9.3.4 (current 9.3 stable branch).
>
> Sounds like a PostgreSQL bug to me, what do you think ?

Yes, probably, can you share the function and the WARNING patch you
mention above?

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Sandro Santilli
Дата:
Сообщение: uninterruptable loop: concurrent delete in progress within table
Следующее
От: Andres Freund
Дата:
Сообщение: Re: uninterruptable loop: concurrent delete in progress within table