From ae53bcfb69d356ae121f661e4c099833729dbc3e Mon Sep 17 00:00:00 2001
From: Tatsuo Ishii
-If you are using PostgreSQL 8.0 or later, installing pgpool_regclass is strongly
-recommended, as it is used internally by pgpool-II.
+If you are using PostgreSQL 8.0 or later, installing pgpool_regclass function on all PostgreSQL to be accessed by pgpool-II is strongly recommended, as it is used internally by pgpool-II.
Without this, handling of duplicate table names in different schema
might cause trouble (temporary tables aren't a problem).
-# cd pgpool-II-x.x.x/sql/pgpool-regclass
-# make
-# make install
-# psql -f pgpool-regclass.sql template1
+cd pgpool-II-x.x.x/sql/pgpool-regclass
+make
+make install
+psql -f pgpool-regclass.sql template1
@@ -206,6 +205,27 @@ execution of "psql -f pgpool-regclass.sql template1", as this template database will be cloned to create new databases.
++If you are using PostgreSQL 9.0 or later along with streaming replication, you need to install pgpool_walrecrunning function on all PostgreSQL to be accessed by pgpool-II. +
++
+cd pgpool-II-x.x.x/sql/pgpool-walrecrunning +make +make install +psql -f pgpool-walrecrunning.sql template1 ++ +
+Executing pgpool-walrecrunning.sql should be performed on every database accessed +with pgpool-II. +You do not need to do this for a database created after the +execution of "psql -f pgpool-regclass.sql template1", as this template database +will be cloned to create new databases. +
+-# cd pgpool-II-x.x.x/sql/pgpool-regclass -# make -# make install -# psql -f pgpool-regclass.sql template1 +cd pgpool-II-x.x.x/sql/pgpool-regclass +make +make install +psql -f pgpool-regclass.sql template1pgpool-regclass.sqlの実行は、pgpool-II経由で利用するデータベース毎に必要になります。 ただし、"psql -f pgpool-regclass.sql template1"を実行後に作成されたデータベースでは自動的にpgpool-regclass.sqlの内容が反映されているので、新たにpgpool-regclass.sqlを実行する必要はありません。 +
+PostgreSQL 9.0以降を使用していて、ストリーミングレプリケーションを利用したい場合は、C関数pgpool_walrecrunningをインストールします。 +このインストールは、pgpool-IIがアクセスする予定のすべてのPostgreSQLサーバで実施してください。 +
+cd pgpool-II-x.x.x/sql/pgpool-walrecrunning +make +make install +psql -f pgpool-walrecrunning.sql template1 ++pgpool-walrecrunning.sqlの実行は、pgpool-II経由で利用するデータベース毎に必要になります。 +ただし、"psql -f pgpool-walrecrunning.sql template1"を実行後に作成されたデータベースでは自動的にpgpool-walrecrunning.sqlの内容が反映されているので、新たにpgpool-walrecrunning.sqlを実行する必要はありません。 + +
以上でインストールが完了します(GNU makeが必要なので、SolarisやFreeBSDなどでは -- 2.39.5