Обсуждение: pgsql: Another fix to relmapper race condition.

Поиск
Список
Период
Сортировка

pgsql: Another fix to relmapper race condition.

От
Heikki Linnakangas
Дата:
Another fix to relmapper race condition.

In previous commit, I missed that relmap_redo() was also not acquiring the
RelationMappingLock. Thanks to Thomas Munro for pointing that out.

Backpatch-through: 9.6, like previous commit.
Discussion:
https://www.postgresql.org/message-id/CA%2BhUKGLev%3DPpOSaL3WRZgOvgk217et%2BbxeJcRr4eR-NttP1F6Q%40mail.gmail.com

Branch
------
REL_10_STABLE

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

Modified Files
--------------
src/backend/utils/cache/relmapper.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)