Fix installation procedure.
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 19 Mar 2016 02:21:33 +0000 (11:21 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 19 Mar 2016 02:21:33 +0000 (11:21 +0900)
With PostgreSQL 9.4 or later, installing pgpool_regclass is not
needed.

doc/pgpool-en.html
doc/pgpool-ja.html

index 6b68fa3573b385243169e204f2fad80dd7aa8c7f..591581468446b9d277f59822cf076667d4e41349 100644 (file)
@@ -197,6 +197,8 @@ will install pgpool-II. (If you use Solaris or FreeBSD, replace make with gmake)
 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).
+If you are using PostgreSQL 9.4 or later, installing pgpool_regclass
+is not necessary since an equivalent (to_regclass) is included in the PostgreSQL core.
 </p>
 <p>
 <pre>
index 15de831765b76fb4ce8ac9dba7667d0da2c213d2..927a7c0de544c253b70247ddd329bff47875b3e3 100644 (file)
@@ -175,7 +175,14 @@ make install
 PostgreSQL 8.0以降を使用している場合は、pgpool-IIが内部で使用するC関数pgpool_regclassをインストールします。
 この関数がインストールされていなくてもpgpool-IIは動作しますが、違うスキーマで同じテーブル名を定義していて、SQL文の中でスキーマ名を省略している場合に、不具合が生じることがあります(一時テーブルを除く)。
 したがって、可能ならばpgpool_regclassをインストールすることをお勧めします。
+</p>
+<p>
+PostgreSQL 9.4以降を使用している場合は、pgpool_regclassのインストールは必要ありません。
+PostgreSQLに同等の関数(to_regclass)が含まれているからです。
+</p>
+<p>
 このインストールは、pgpool-IIがアクセスする予定のすべてのPostgreSQLサーバで実施してください。
+</p>
 <pre>
 cd pgpool-II-x.x.x/sql/pgpool-regclass
 make