pgsql: hio: Relax rules for calling GetVisibilityMapPins()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: hio: Relax rules for calling GetVisibilityMapPins()
Дата
Msg-id E1pkU4a-001iVx-Ty@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
hio: Relax rules for calling GetVisibilityMapPins()

GetVisibilityMapPins() insisted on the buffer1/buffer2 being in a specific
order. This required checks at the callsite. As a subsequent patch will add
another callsite, move related logic into GetVisibilityMapPins().

Discussion: https://postgr.es/m/20230403190030.fk2frxv6faklrseb@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bba9003b627f4742212bd060ae65fe5c9c3592f3

Modified Files
--------------
src/backend/access/heap/hio.c | 37 ++++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 11 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: psql: add an optional execution-count limit to \watch.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: hio: Don't pin the VM while holding buffer lock while extending