pgsql: Fix race introduced by 6d46f4783efe457f74816a75173eb23ed8930020.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix race introduced by 6d46f4783efe457f74816a75173eb23ed8930020.
Дата
Msg-id E1cDwSX-0007wZ-53@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix race introduced by 6d46f4783efe457f74816a75173eb23ed8930020.

It's possible for the metapage contents to change after we release
the lock, so we must read them before releasing the lock.

Amit Kapila.  Submitted in response to a trouble report from
Andreas Seltenreich, though it is not certain this fixes the
problem.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2f4193c3509a822c55cc0eae77e7788806d9b022

Modified Files
--------------
src/backend/access/hash/hashpage.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Assorted documentation improvements for max_parallel_workers.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: libpq: Fix another bug in 721f7bd3cbccaf8c07cad2707826b83f846948