Re: BUG #9464: PANIC with 'failed to re-find shared lock object'

Поиск
Список
Период
Сортировка
От Peter LaDow
Тема Re: BUG #9464: PANIC with 'failed to re-find shared lock object'
Дата
Msg-id CAN8Q1EcvWGUTGe2DFGnDvWhgQmF63Vwib-RUHjUBXTEH61FMyA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #9464: PANIC with 'failed to re-find shared lock object'  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #9464: PANIC with 'failed to re-find shared lock object'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, Mar 6, 2014 at 8:18 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I don't think _exit() is a terribly good idea.  Consider the possibility
> that some third-party library loaded into the backend has also established
> an atexit callback, and unlike what we did, that code does need to get
> control in a subprocess exit.

Good point.

> Could you try patching atexit_callback as above, and verify that
> it does what you want (with or without the on_exit_reset() in your
> extension)?

That did it as well.  Things are peachy (at least for this scenario).

Would you like me to submit a patch (with you as the author of course)?

Thanks,
Pete

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9464: PANIC with 'failed to re-find shared lock object'
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9464: PANIC with 'failed to re-find shared lock object'