]> granicus.if.org Git - postgresql/commit
Install infrastructure for shared-memory free space map. Doesn't actually
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Jun 2001 23:31:40 +0000 (23:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 27 Jun 2001 23:31:40 +0000 (23:31 +0000)
commite0c9301c87634f21c0a7c6305bdc6da15d6ba375
treeaad976ca0197137c3461ff19a3d0e155487f7b44
parentb559382134a52bbe1d79d465afd89c8385f88581
Install infrastructure for shared-memory free space map.  Doesn't actually
do anything yet, but it has the necessary connections to initialization
and so forth.  Make some gestures towards allowing number of blocks in
a relation to be BlockNumber, ie, unsigned int, rather than signed int.
(I doubt I got all the places that are sloppy about it, yet.)  On the
way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC
variable.
26 files changed:
doc/src/sgml/runtime.sgml
src/backend/access/hash/hashpage.c
src/backend/access/heap/heapam.c
src/backend/access/heap/hio.c
src/backend/access/nbtree/nbtpage.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/vacuum.c
src/backend/storage/Makefile
src/backend/storage/freespace/Makefile [new file with mode: 0644]
src/backend/storage/freespace/freespace.c [new file with mode: 0644]
src/backend/storage/ipc/ipci.c
src/backend/storage/ipc/spin.c
src/backend/storage/lmgr/lock.c
src/backend/storage/smgr/md.c
src/backend/storage/smgr/mm.c
src/backend/storage/smgr/smgr.c
src/backend/utils/cache/relcache.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/commands/vacuum.h
src/include/storage/freespace.h [new file with mode: 0644]
src/include/storage/ipc.h
src/include/storage/lock.h
src/include/storage/smgr.h
src/include/utils/rel.h