postgresql/src/backend/access
Tom Lane 0b1d1a038b Fix VM buffer pin management in heap_lock_updated_tuple_rec().
Sloppy coding in this function could lead to leaking a VM buffer pin,
or to attempting to free the same pin twice.  Repair.  While at it,
reduce the code's tendency to free and reacquire the same page pin.

Back-patch to 9.6; before that, this routine did not concern itself
with VM pages.

Amit Kapila and Tom Lane

Discussion: https://postgr.es/m/CAA4eK1KJKwhc=isgTQHjM76CAdVswzNeAuZkh_cx-6QgGkSEgA@mail.gmail.com
2018-03-02 17:40:48 -05:00
..
brin Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
common Use platform independent type for TupleTableSlot->tts_off. 2018-02-20 15:12:52 -08:00
gin Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
gist Make gistvacuumcleanup() count the actual number of index tuples. 2018-03-02 11:22:42 -05:00
hash Remove redundant IndexTupleDSize macro. 2018-02-28 19:25:54 -05:00
heap Fix VM buffer pin management in heap_lock_updated_tuple_rec(). 2018-03-02 17:40:48 -05:00
index Local partitioned indexes 2018-01-19 11:49:22 -03:00
nbtree Remove redundant IndexTupleDSize macro. 2018-02-28 19:25:54 -05:00
rmgrdesc Update copyright for 2018 2018-01-02 23:30:12 -05:00
spgist Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
tablesample Update copyright for 2018 2018-01-02 23:30:12 -05:00
transam Minor comment fix 2018-02-17 20:45:02 -05:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00