aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeBitmapIndexscan.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2019-04-04 09:38:08 -0700
committerPeter Geoghegan <pg@bowt.ie>2019-04-04 09:38:08 -0700
commit74eb2176bf3ac7a2fae1282b4f4f1d000f3e6d78 (patch)
treeead2a326064ae84ae38968e3fe7a28f9047cfebf /src/backend/executor/nodeBitmapIndexscan.c
parent87e16db5ebe7256712999ec690899237029b9ae7 (diff)
downloadpostgresql-74eb2176bf3ac7a2fae1282b4f4f1d000f3e6d78.tar.gz
postgresql-74eb2176bf3ac7a2fae1282b4f4f1d000f3e6d78.zip
Invalidate binary search bounds consistently.
_bt_check_unique() failed to invalidate binary search bounds in the event of a live conflict following commit e5adcb78. This resulted in problems after waiting for the conflicting xact to commit or abort. The subsequent call to _bt_check_unique() would restore the initial binary search bounds, rather than starting a new search. Fix by explicitly invalidating bounds when it becomes clear that there is a live conflict that insertion will have to wait to resolve. Ashutosh Sharma, with a few additional tweaks by me. Author: Ashutosh Sharma Reported-By: Ashutosh Sharma Diagnosed-By: Ashutosh Sharma Discussion: https://postgr.es/m/CAE9k0PnQp-qr-UYKMSCzdC2FBzdE4wKP41hZrZvvP26dKLonLg@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeBitmapIndexscan.c')
0 files changed, 0 insertions, 0 deletions