Re: myProcLocks initialization

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: myProcLocks initialization
Дата
Msg-id CA+U5nML-mi-KxWeo1pMbU+c3u1M1=xVvAq+Y+hWdRQJqueFkeQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: myProcLocks initialization  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Oct 31, 2011 at 7:54 PM, Robert Haas <robertmhaas@gmail.com> wrote:

> Revised patch attached.  I think it would be useful to assert this
> both at process startup time and at process shutdown, since it would
> really be much nicer to have the process that didn't clean up fail the
> assertion, rather than the new one that innocently inherited its slot;
> so the attached patch takes that approach.

Something stronger than an assertion at shutdown? Run-time test?

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: myProcLocks initialization
Следующее
От: Simon Riggs
Дата:
Сообщение: Optimizing GetRunningTransactionLocks()