]> granicus.if.org Git - postgresql/commit
Change the bootstrap sequence so that toast tables for system catalogs are
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Jul 2006 01:16:38 +0000 (01:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Jul 2006 01:16:38 +0000 (01:16 +0000)
commit6e38e34d64b5769272e0ab873416aa6c95509b50
tree2400d919e0296ff0fd4d014ccb7846bc2c8c7f69
parent638860ce3581f80f836c7374936a250ec46f35a2
Change the bootstrap sequence so that toast tables for system catalogs are
created in the bootstrap phase proper, rather than added after-the-fact
by initdb.  This is cleaner than before because it allows us to retire the
undocumented ALTER TABLE ... CREATE TOAST TABLE command, but the real reason
I'm doing it is so that toast tables of shared catalogs will now have
predetermined OIDs.  This will allow a reasonably clean solution to the
problem of locking tables before we load their relcache entries, to appear
in a forthcoming patch.
26 files changed:
doc/src/sgml/bki.sgml
doc/src/sgml/keywords.sgml
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootscanner.l
src/backend/bootstrap/bootstrap.c
src/backend/catalog/Makefile
src/backend/catalog/README
src/backend/catalog/genbki.sh
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/catalog/toasting.c [new file with mode: 0644]
src/backend/commands/cluster.c
src/backend/commands/indexcmds.c
src/backend/commands/tablecmds.c
src/backend/executor/execMain.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/tcop/utility.c
src/bin/initdb/initdb.c
src/include/catalog/catversion.h
src/include/catalog/duplicate_oids
src/include/catalog/index.h
src/include/catalog/toasting.h [new file with mode: 0644]
src/include/catalog/unused_oids
src/include/commands/tablecmds.h
src/include/nodes/parsenodes.h