pgsql: Mark FastPathStrongRelationLocks volatile.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Mark FastPathStrongRelationLocks volatile.
Дата
Msg-id E1WUh9s-0008IZ-Sd@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Mark FastPathStrongRelationLocks volatile.

Otherwise, the compiler might decide to move modifications to data
within this structure outside the enclosing SpinLockAcquire /
SpinLockRelease pair, leading to shared memory corruption.

This may or may not explain a recent lmgr-related buildfarm failure
on prairiedog, but it needs to be fixed either way.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4bc15a8bfbc7856bc3426dc9ab99567eebbb64d3

Modified Files
--------------
src/backend/storage/lmgr/lock.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Mark FastPathStrongRelationLocks volatile.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix typo in comment.