pgsql-server/src backend/bootstrap/bootstrap.c ...
pgsql-server/src backend/bootstrap/bootstrap.c ...
От:
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@postgresql.org 03/03/05 19:04:27 Modified files: src/backend/bootstrap: bootstrap.c src/backend/storage/freespace: freespace.c src/backend/tcop: postgres.c src/include/storage: freespace.h Log message: 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).