Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait |
| Дата | |
| Msg-id | 27843.1312312995@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: pgsql: Fix incorrect initialization of ProcGlobal->startupBufferPinWait
|
| Список | pgsql-committers |
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.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера