pgsql/src backend/access/heap/heapam.c backend ...
pgsql/src backend/access/heap/heapam.c backend ...
От:
Tom Lane <tgl@hub.org>
Дата:
CVSROOT: /home/projects/pgsql/cvsroot Module name: pgsql Changes by: tgl@hub.org 01/06/29 17:08:25 Modified files: src/backend/access/heap: heapam.c hio.c src/backend/access/transam: xlogutils.c src/backend/catalog: heap.c src/backend/commands: sequence.c src/backend/storage/buffer: bufmgr.c src/backend/storage/freespace: freespace.c src/backend/storage/smgr: smgr.c src/backend/utils/cache: relcache.c src/include/access: hio.h src/include/storage: bufmgr.h src/include/utils: relcache.h Log message: Further work on connecting the free space map (which is still just a stub) into the rest of the system. Adopt a cleaner approach to preventing deadlock in concurrent heap_updates: allow RelationGetBufferForTuple to select any page of the rel, and put the onus on it to lock both buffers in a consistent order. Remove no-longer-needed isExtend hack from API of ReleaseAndReadBuffer.