Re: UNLISTEN bug

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: UNLISTEN bug
Дата
Msg-id 201009221704.o8MH4og09531@momjian.us
обсуждение исходный текст
Ответ на UNLISTEN bug  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: UNLISTEN bug  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Jeff Davis wrote:
> In honor of the very first bug report I sent to postgresql more than 10
> years ago regarding UNLISTEN[1], I have decided to submit another
> UNLISTEN bug (against HEAD):
>
> Session1:
>
>    LISTEN foo;
>    BEGIN;
>    UNLISTEN foo;
>
> Session2:
>
>    NOTIFY foo;
>
> Session1:
>
>    SELECT 1;
>    COMMIT;
>    SELECT 1;
>
> I seem to recall testing out similar situations during my review of this
> patch, but I think the code has changed since that time.

So the problem report is?  I tested it and the problem is that the final
SELECT 1 hung.  Is that the problem?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #5669: server process was terminated by exception 0xC0000005
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5669: server process was terminated by exception 0xC0000005