From 8ab15f2e72ab6637f6837cf571897e84f9576a6e Mon Sep 17 00:00:00 2001
From: Takahiro Itagaki
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
pg_reorg can be installed like standard contrib modules.
-Place pg_reorg to $PGHOME/contrib/ and input make, make install.
-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