バージョンごとのドキュメント一覧

75.5. BKIファイルのブートストラップの構成 #

<title>Structure of the Bootstrap <acronym>BKI</acronym> File</title>

The <literal>open</literal> command cannot be used until the tables it uses exist and have entries for the table that is to be opened. (These minimum tables are <structname>pg_class</structname>, <structname>pg_attribute</structname>, <structname>pg_proc</structname>, and <structname>pg_type</structname>.) To allow those tables themselves to be filled, <literal>create</literal> with the <literal>bootstrap</literal> option implicitly opens the created table for data insertion. openコマンドは、テーブルが、使用するテーブルが存在し、開かれるテーブルに対しエントリを所有するまで使用できません。(これら最小限度のテーブルは、pg_classpg_attributepg_proc、およびpg_typeです。)これらのテーブル自体が充填されるようにするには、bootstrapオプションを伴ったcreateが明示的にデータの挿入のために作成されたテーブルを開きます。

Also, the <literal>declare index</literal> and <literal>declare toast</literal> commands cannot be used until the system catalogs they need have been created and filled in. また、必要とするシステムカタログが作成され、値が設定されるまで、declare indexおよびdeclare toastコマンドは使用できません。

Thus, the structure of the <filename>postgres.bki</filename> file has to be: 従い、postgres.bkiの構造は以下でなければなりません。

  1. <literal>create bootstrap</literal> one of the critical tables 1つの重要なテーブルをcreate bootstrap

  2. <literal>insert</literal> data describing at least the critical tables 少なくとも重要なテーブルを記述するデータをinsert

  3. close

  4. Repeat for the other critical tables. その他の重要テーブルに対して反復。

  5. <literal>create</literal> (without <literal>bootstrap</literal>) a noncritical table 重要でないテーブルを(bootstrap無しで)create

  6. open

  7. <literal>insert</literal> desired data 求められるデータのinsert

  8. close

  9. Repeat for the other noncritical tables. その他の重要でないテーブルに対して反復。

  10. Define indexes and toast tables. インデックスおよびTOASTテーブルの定義。

  11. build indices

There are doubtless other, undocumented ordering dependencies. 他にもドキュメント化されていない順序に関する依存性があることは疑いの余地がありません。