Re: Postgres service stops when I kill client backend on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres service stops when I kill client backend on Windows
Дата
Msg-id 49668.1444578128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres service stops when I kill client backend on Windows  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Postgres service stops when I kill client backend on Windows  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Sun, Oct 11, 2015 at 5:22 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I'm a bit suspicious that we may have leaked a handle to the shared
>> memory block someplace, for example.  That would explain why this
>> symptom is visible now when it was not in 2009.  Or maybe it's dependent
>> on some feature that we didn't test back then --- for instance, if
>> the logging collector is in use, could it have inherited a handle and
>> not closed it?

> Even if we leaked it, it should go away when the other processes died.

I'm fairly certain that we do not kill/restart the logging collector
during a database restart (because it's impossible to reproduce the
original stderr destination if we do).  Not sure if any other postmaster
children are allowed to survive.
        regards, tom lane



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Postgres service stops when I kill client backend on Windows
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Release of CVEs