Re: Win32 semaphore patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Win32 semaphore patch
Дата
Msg-id 4151.1145599480@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Win32 semaphore patch  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Список pgsql-patches
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> Maybe I missed the point here: If we really run out of kernel resources, I
> don't think we can do much even with named semaphores - because the resource
> leaked may not belong to any Postgres processes and we can't clean them up.

It's certainly not our business to defend the kernel against misbehavior
of other applications.  But IMHO it *is* our business to defend against
our own misbehavior.  Postgres should not be the weakest link.

Note I am not saying there's anything wrong with the code you posted;
based on discussion to date it seems to be solid.  What I am taking
issue with is the attitude you seem to have that it's not our problem
if we leak resources.  It is our problem.

            regards, tom lane

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

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Win32 semaphore patch
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Win32 semaphore patch