Re: Buffer ReadMe Confuse

Поиск
Список
Период
Сортировка
От Andy Fan
Тема Re: Buffer ReadMe Confuse
Дата
Msg-id CAKU4AWo-W5=ngB8mBvHwXxQLL7L522TzRvcXc7S2iJ2HmZyx6w@mail.gmail.com
обсуждение исходный текст
Ответ на Buffer ReadMe Confuse  (jacktby jacktby <jacktby@gmail.com>)
Список pgsql-hackers


On Fri, Sep 15, 2023 at 4:08 AM jacktby jacktby <jacktby@gmail.com> wrote:
In buffer README, I see “Pins may not be held across transaction boundaries, however.” I think for different transactions, they can pin the same buffer page, why not? For concurrent read transactions, they could read the one and the same buffer page.


You are right that different transactions can pin the same buffer,
but that does not conflict with what the README says, which is talking
about once the transaction is completed, all the Pins are removed.  

--
Best Regards
Andy Fan

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Cygwin cleanup
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Add inline comments to the pg_hba_file_rules view