OSDN Git Service

Add code to dump contents of free space map into $PGDATA/global/pg_fsm.cache
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Mar 2003 00:04:27 +0000 (00:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Mar 2003 00:04:27 +0000 (00:04 +0000)
commit4b6c198a6af427fd3531b09cd6fa15e715de6aa5
tree5eed566a56b5daff030ae202427cce369227ee4f
parent21591967bc19c749a100fb97ec82f6086ce5cc3c
Add code to dump contents of free space map into $PGDATA/global/pg_fsm.cache
at database shutdown, and then load it again at database startup.  This
preserves our hard-won knowledge of free space across restarts (given
an orderly shutdown, that is).
src/backend/bootstrap/bootstrap.c
src/backend/storage/freespace/freespace.c
src/backend/tcop/postgres.c
src/include/storage/freespace.h