-
- Downloads
Refactor XLogOpenRelation() and XLogReadBuffer() in preparation for relation
forks. XLogOpenRelation() and the associated light-weight relation cache in xlogutils.c is gone, and XLogReadBuffer() now takes a RelFileNode as argument, instead of Relation. For functions that still need a Relation struct during WAL replay, there's a new function called CreateFakeRelcacheEntry() that returns a fake entry like XLogOpenRelation() used to.
Showing
- src/backend/access/gin/ginxlog.c 15 additions, 27 deletionssrc/backend/access/gin/ginxlog.c
- src/backend/access/gist/gist.c 3 additions, 3 deletionssrc/backend/access/gist/gist.c
- src/backend/access/gist/gistutil.c 8 additions, 10 deletionssrc/backend/access/gist/gistutil.c
- src/backend/access/gist/gistvacuum.c 2 additions, 2 deletionssrc/backend/access/gist/gistvacuum.c
- src/backend/access/gist/gistxlog.c 13 additions, 19 deletionssrc/backend/access/gist/gistxlog.c
- src/backend/access/heap/heapam.c 13 additions, 28 deletionssrc/backend/access/heap/heapam.c
- src/backend/access/heap/pruneheap.c 3 additions, 3 deletionssrc/backend/access/heap/pruneheap.c
- src/backend/access/nbtree/nbtxlog.c 28 additions, 33 deletionssrc/backend/access/nbtree/nbtxlog.c
- src/backend/access/transam/xlog.c 3 additions, 12 deletionssrc/backend/access/transam/xlog.c
- src/backend/access/transam/xlogutils.c 85 additions, 219 deletionssrc/backend/access/transam/xlogutils.c
- src/backend/commands/sequence.c 2 additions, 4 deletionssrc/backend/commands/sequence.c
- src/backend/storage/buffer/bufmgr.c 76 additions, 33 deletionssrc/backend/storage/buffer/bufmgr.c
- src/backend/storage/buffer/localbuf.c 4 additions, 4 deletionssrc/backend/storage/buffer/localbuf.c
- src/backend/storage/smgr/smgr.c 8 additions, 1 deletionsrc/backend/storage/smgr/smgr.c
- src/backend/utils/init/flatfiles.c 13 additions, 13 deletionssrc/backend/utils/init/flatfiles.c
- src/include/access/gist_private.h 3 additions, 3 deletionssrc/include/access/gist_private.h
- src/include/access/heapam.h 2 additions, 2 deletionssrc/include/access/heapam.h
- src/include/access/xlogutils.h 5 additions, 5 deletionssrc/include/access/xlogutils.h
- src/include/storage/buf_internals.h 5 additions, 4 deletionssrc/include/storage/buf_internals.h
- src/include/storage/bufmgr.h 3 additions, 1 deletionsrc/include/storage/bufmgr.h
Loading
Please register or sign in to comment