pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Another fix to relmapper race condition. 6+ messages / 1 participants [nested] [flat]
* pgsql: Another fix to relmapper race condition. @ 2021-06-24 08:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2021-06-24 08:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9b8ed0f52bffceaccf6fa650ffe482e7da20fbf2 Modified Files -------------- src/backend/utils/cache/relmapper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Another fix to relmapper race condition. @ 2021-06-24 08:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2021-06-24 08:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6fb377e5f74b09ac0b36034da65b179c567228b8 Modified Files -------------- src/backend/utils/cache/relmapper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Another fix to relmapper race condition. @ 2021-06-24 08:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2021-06-24 08:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8b01a403c5cc4e070107bea04e8e285151a0a073 Modified Files -------------- src/backend/utils/cache/relmapper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Another fix to relmapper race condition. @ 2021-06-24 08:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2021-06-24 08:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/eb3bd243a24590ddd13d13c3ba8f0fa948903bbf Modified Files -------------- src/backend/utils/cache/relmapper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Another fix to relmapper race condition. @ 2021-06-24 08:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2021-06-24 08:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... 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(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Another fix to relmapper race condition. @ 2021-06-24 08:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2021-06-24 08:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5956795cb5befdc7b5dab3e1e781b74fbc3590e8 Modified Files -------------- src/backend/utils/cache/relmapper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2021-06-24 08:30 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-06-24 08:30 pgsql: Another fix to relmapper race condition. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-06-24 08:30 pgsql: Another fix to relmapper race condition. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-06-24 08:30 pgsql: Another fix to relmapper race condition. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-06-24 08:30 pgsql: Another fix to relmapper race condition. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-06-24 08:30 pgsql: Another fix to relmapper race condition. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-06-24 08:30 pgsql: Another fix to relmapper race condition. Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox