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 CAN8Q1EcLbgeCNNXav49nOrA9uR-LYjRmonTtPrm90f6zrdn=+g@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 7:32 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> on_exit_reset() in the first-level child would likely be a good idea.

Thanks for the tip!  I tried it, and things are happy again.

> See atexit_callback in src/backend/storage/ipc/ipc.c: your first-level
> child is killing all the parent backend's shared-memory state when it
> does exit().  This is a safety feature we added at some point in the

Ah!  Well, I guess I could use _exit() as well...

Any preference between the two?

> past few years, but in your usage I guess its an anti-safety feature...

;)  Well, I don't pretend to know the internals. But if as you say it
is for safety, I guess I should follow the rules.

Thanks for the prompt reply and help!

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'