diff --git a/doc/pg_reorg-ja.html b/doc/pg_reorg-ja.html index 60f6956..bcb85a6 100755 --- a/doc/pg_reorg-ja.html +++ b/doc/pg_reorg-ja.html @@ -291,11 +291,15 @@ pg_reorg の実行中には、VACUUM と ANALYZE 以外 のDDL 最後にシステムカタログを直接書き換えることで、元のテーブルと名前を交換しています。

インストール方法

-

pg_reorg のインストールは、標準のcontribモジュールと同様です。

-

ビルド

-

pg_reorg のフォルダを$PGHOME/contrib/に配置し、make, make installを行ってください。

-

データベースへの登録

-

PostgreSQLを起動し、対象のデータベースに対して $PGHOME/share/contrib にある pg_reorg.sql を実行し、インストールを行ってください。

+

pgxs を使ってビルドできます。

+
$ cd pg_reorg
+$ make USE_PGXS=1
+$ su
+$ make USE_PGXS=1 install
+ +

その後、データベースに関数を登録します。

+
$ pg_ctl start
+$ psql -f $PGSHARE/contrib/pg_reorg.sql your_database

動作環境

diff --git a/doc/pg_reorg.html b/doc/pg_reorg.html index ba687d1..444077f 100755 --- a/doc/pg_reorg.html +++ b/doc/pg_reorg.html @@ -279,11 +279,15 @@ In many case pg_reorg would fail and rollback collectly, but there are some case Then, it updates system catalog directly to swap the work table and the original one.

Installations

-

pg_reorg can be installed like standard contrib modules.

-

Build from source

-

Place pg_reorg to $PGHOME/contrib/ and input make, make install.

-

Register to database

-

Start PostgreSQL and execute pg_reorg.sql in $PGHOME/share/contrib.

+

pg_reorg can be built with pgxs.

+
$ cd pg_reorg
+$ make USE_PGXS=1
+$ su
+$ make USE_PGXS=1 install
+ +

Start PostgreSQL and execute the script to register functions to your database.

+
$ pg_ctl start
+$ psql -f $PGSHARE/contrib/pg_reorg.sql your_database

Requirements