]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Replace implementation of pg_log as a relation accessed through the
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Aug 2001 18:52:43 +0000 (18:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Aug 2001 18:52:43 +0000 (18:52 +0000)
commit2589735da08c4e597accb6eab5ae65b6339ee630
tree829f7073292c6b55f86580863837441991638405
parent4699d81dc99ef1687e9396b57b0ed10f42699792
Replace implementation of pg_log as a relation accessed through the
buffer manager with 'pg_clog', a specialized access method modeled
on pg_xlog.  This simplifies startup (don't need to play games to
open pg_log; among other things, OverrideTransactionSystem goes away),
should improve performance a little, and opens the door to recycling
commit log space by removing no-longer-needed segments of the commit
log.  Actual recycling is not there yet, but I felt I should commit
this part separately since it'd still be useful if we chose not to
do transaction ID wraparound.
39 files changed:
doc/src/sgml/backup.sgml
doc/src/sgml/wal.sgml
src/backend/access/transam/Makefile
src/backend/access/transam/clog.c [new file with mode: 0644]
src/backend/access/transam/rmgr.c
src/backend/access/transam/transam.c
src/backend/access/transam/transsup.c [deleted file]
src/backend/access/transam/varsup.c
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/backend/access/transam/xlogutils.c
src/backend/catalog/Makefile
src/backend/catalog/heap.c
src/backend/parser/gram.y
src/backend/storage/buffer/README
src/backend/storage/ipc/ipci.c
src/backend/storage/ipc/sinval.c
src/backend/storage/lmgr/lmgr.c
src/backend/utils/cache/relcache.c
src/backend/utils/init/globals.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/database.c
src/backend/utils/time/tqual.c
src/bin/initdb/initdb.sh
src/bin/pg_dump/pg_upgrade
src/include/access/clog.h [new file with mode: 0644]
src/include/access/rmgr.h
src/include/access/transam.h
src/include/access/xact.h
src/include/access/xlog.h
src/include/access/xlogdefs.h
src/include/access/xlogutils.h
src/include/catalog/catname.h
src/include/catalog/catversion.h
src/include/catalog/pg_attribute.h
src/include/catalog/pg_class.h
src/include/catalog/pg_log.h [deleted file]
src/include/catalog/pg_type.h
src/include/storage/bufpage.h