Skip site navigation (1) Skip section navigation (2)

pgsql: Change the bootstrap sequence so that toast tables for system

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change the bootstrap sequence so that toast tables for system
Date: 2006-07-31 01:16:38
Message-ID: 20060731011638.406999FB320@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        bki.sgml (r1.17 -> r1.18)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/bki.sgml.diff?r1=1.17&r2=1.18)
        keywords.sgml (r2.16 -> r2.17)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/keywords.sgml.diff?r1=2.16&r2=2.17)
    pgsql/src/backend/bootstrap:
        bootparse.y (r1.82 -> r1.83)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootparse.y.diff?r1=1.82&r2=1.83)
        bootscanner.l (r1.42 -> r1.43)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootscanner.l.diff?r1=1.42&r2=1.43)
        bootstrap.c (r1.221 -> r1.222)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/bootstrap/bootstrap.c.diff?r1=1.221&r2=1.222)
    pgsql/src/backend/catalog:
        Makefile (r1.59 -> r1.60)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/Makefile.diff?r1=1.59&r2=1.60)
        README (r1.9 -> r1.10)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/README.diff?r1=1.9&r2=1.10)
        genbki.sh (r1.39 -> r1.40)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/genbki.sh.diff?r1=1.39&r2=1.40)
        heap.c (r1.309 -> r1.310)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/heap.c.diff?r1=1.309&r2=1.310)
        index.c (r1.270 -> r1.271)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c.diff?r1=1.270&r2=1.271)
    pgsql/src/backend/commands:
        cluster.c (r1.150 -> r1.151)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/cluster.c.diff?r1=1.150&r2=1.151)
        indexcmds.c (r1.145 -> r1.146)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/indexcmds.c.diff?r1=1.145&r2=1.146)
        tablecmds.c (r1.196 -> r1.197)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.196&r2=1.197)
    pgsql/src/backend/executor:
        execMain.c (r1.276 -> r1.277)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.276&r2=1.277)
    pgsql/src/backend/parser:
        gram.y (r2.552 -> r2.553)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y.diff?r1=2.552&r2=2.553)
        keywords.c (r1.173 -> r1.174)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/keywords.c.diff?r1=1.173&r2=1.174)
    pgsql/src/backend/tcop:
        utility.c (r1.262 -> r1.263)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/utility.c.diff?r1=1.262&r2=1.263)
    pgsql/src/bin/initdb:
        initdb.c (r1.119 -> r1.120)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.119&r2=1.120)
    pgsql/src/include/catalog:
        catversion.h (r1.343 -> r1.344)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h.diff?r1=1.343&r2=1.344)
        duplicate_oids (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/duplicate_oids.diff?r1=1.7&r2=1.8)
        index.h (r1.69 -> r1.70)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/index.h.diff?r1=1.69&r2=1.70)
        unused_oids (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/unused_oids.diff?r1=1.7&r2=1.8)
    pgsql/src/include/commands:
        tablecmds.h (r1.29 -> r1.30)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/tablecmds.h.diff?r1=1.29&r2=1.30)
    pgsql/src/include/nodes:
        parsenodes.h (r1.318 -> r1.319)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/parsenodes.h.diff?r1=1.318&r2=1.319)

Added Files:
-----------
    pgsql/src/backend/catalog:
        toasting.c (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/toasting.c?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/include/catalog:
        toasting.h (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/toasting.h?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date

Next:From: Tatsuo IshiiDate: 2006-07-31 05:15:14
Subject: pgsql: Fix memory allocation bug in pgbench.
Previous:From: Alvaro HerreraDate: 2006-07-31 01:13:58
Subject: pgsql: Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group