fix oversight converting buf_id to Buffer

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема fix oversight converting buf_id to Buffer
Дата
Msg-id CAJjS0u2ai9ooUisKtkV8cuVUtEkMTsbK8c7juNAjv8K11zeCQg@mail.gmail.com
обсуждение исходный текст
Ответы Re: fix oversight converting buf_id to Buffer  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Attached patch fixes oversights converting buf_id to Buffer in
PrintBufferDescs() and InvalidateBuffer(). Especially for the latter,
the reason we haven't seen any reports of the issue might be that it
needs certain concurrent conditions to be true.

Along the line, it also changes all direct maths against buf_id to use
BufferDescriptorGetBuffer() instead.

Regards,
Qingqing

Вложения

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: checkpointer continuous flushing
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: CREATE POLICY and RETURNING