Fix nbtree's failure to clear BTScans list during xact abort.
Tom Lane <tgl@sss.pgh.pa.us>
Fix nbtree's failure to clear BTScans list during xact abort. Also, move responsibility for calling vc_abort into main xact.c list of things-to-call-at-abort. What in the world was it doing down inside of TransactionIdAbort()?
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtpage.c | modified | +1 −2 |
| src/backend/access/nbtree/nbtscan.c | modified | +23 −1 |
| src/backend/access/transam/transam.c | modified | +1 −13 |
| src/backend/access/transam/xact.c | modified | +7 −1 |
| src/include/access/nbtree.h | modified | +2 −1 |