Re: [HACKERS] Group clear xid can leak semaphore count

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Group clear xid can leak semaphore count
Дата
Msg-id 15786.1483652924@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Group clear xid can leak semaphore count  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] Group clear xid can leak semaphore count  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I think we have run into this kind of issue before.  I wonder if
> there's any way to insert some kind of a guard - e.g. detect at
> backend startup time that the semaphore has a non-zero value and fix
> it, issuing a warning along the way...  maybe something like:

See the PGSemaphoreReset near the end of InitProcess.
        regards, tom lane



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Supporting huge pages on Windows
Следующее
От: Michael Banck
Дата:
Сообщение: Re: [HACKERS] Replication/backup defaults