]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Another fix to relmapper race condition.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 24 Jun 2021 08:19:03 +0000 (11:19 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 24 Jun 2021 08:19:44 +0000 (11:19 +0300)
commit5956795cb5befdc7b5dab3e1e781b74fbc3590e8
treeb6c53358f3ddcc41c1eed43a8f0d0f05fc16fec9
parent85ae8ccb2fb330785c6503316635dc7256cbe495
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
src/backend/utils/cache/relmapper.c