aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/geo_spgist.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-08-04 20:07:16 -0700
committerAndres Freund <andres@anarazel.de>2016-08-04 20:07:16 -0700
commite7caacf733f3ee77a555aa715ab6fbf4434e6b52 (patch)
treeb3d6dd865e059192bb0153a85d2b0a05e6377f96 /src/backend/utils/adt/geo_spgist.c
parent4eb4b3f24561cb115b24984c755b2a75155afedf (diff)
downloadpostgresql-e7caacf733f3ee77a555aa715ab6fbf4434e6b52.tar.gz
postgresql-e7caacf733f3ee77a555aa715ab6fbf4434e6b52.zip
Fix hard to hit race condition in heapam's tuple locking code.
As mentioned in its commit message, eca0f1db left open a race condition, where a page could be marked all-visible, after the code checked PageIsAllVisible() to pin the VM, but before the page is locked. Plug that hole. Reviewed-By: Robert Haas, Andres Freund Author: Amit Kapila Discussion: CAEepm=3fWAbWryVW9swHyLTY4sXVf0xbLvXqOwUoDiNCx9mBjQ@mail.gmail.com Backpatch: -
Diffstat (limited to 'src/backend/utils/adt/geo_spgist.c')
0 files changed, 0 insertions, 0 deletions