Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait
Дата
Msg-id CA+U5nM+RHC=4nvqK3mpjoH_tk2MFoQV9XKdp=PgaO6JggsDn+g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Tue, Aug 2, 2011 at 8:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Simon Riggs <simon@2ndQuadrant.com> writes:
>> On Tue, Aug 2, 2011 at 6:24 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Fix incorrect initialization of ProcGlobal->startupBufferPinWaitBufId.
>>>
>>> It was initialized in the wrong place and to the wrong value.  With bad
>>> luck this could result in incorrect query-cancellation failures in hot
>>> standby sessions, should a HS backend be holding pin on buffer number 1
>>> while trying to acquire a lock.
>
>> Did I miss a bug report?
>
> No, this was something I happened across in code-reading a few weeks ago
> and had a note to myself to fix.  While looking at it today I found more
> problems ... see second commit.

I'm happy to fix problems I've caused that are reported to me.

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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait
Следующее
От: andrewsn@pgfoundry.org (User Andrewsn)
Дата:
Сообщение: ip4r - ip4r: First cut at ip6/ip6r/ipaddress/iprange support (2.0