Doc: update installation document to 4.6
authorBo Peng <[email protected]>
Wed, 19 Feb 2025 08:57:05 +0000 (17:57 +0900)
committerBo Peng <[email protected]>
Wed, 19 Feb 2025 10:02:55 +0000 (19:02 +0900)
doc.ja/src/sgml/installation-rpm.sgml
doc/src/sgml/installation-rpm.sgml

index 956e088226dee41d27291288523ecaff5e5b48f6..dd862c7f7dc71e436fb9d4e4dbc24d67774a344d 100644 (file)
    <productname>Pgpool-II</productname> provides separate packages for each PostgreSQL version.
    "XX" in the above package is a two-digit number representing the version of PostgreSQL.
    Choose <productname>Pgpool-II</productname> RPM corresponding to your PostgreSQL version.
-   (For example, if you are using PostgreSQL 16, you need to install <filename>pgpool-II-pg16</filename>)
+   (For example, if you are using PostgreSQL 17, you need to install <filename>pgpool-II-pg17</filename>)
    -->
    <productname>Pgpool-II</productname>は<productname>PostgreSQL</productname>のライブラリと拡張のディレクトリが必要です。
    そのディレクトリへのパスは<productname>PostgreSQL</productname>のバージョンごとに異なっているので、<productname>Pgpool-II</productname>はPostgreSQLバージョンごとにパッケージを提供しています。
-   上記パッケージの「XX」はPostgreSQLのバージョンを表す2桁の数値です。<productname>PostgreSQL</productname>バージョンに対応する<productname>Pgpool-II</productname>のRPMを選んでください。(例えば、PostgreSQL 16を利用している場合は、<filename>pgpool-II-pg16</filename>を使用してください)
+   上記パッケージの「XX」はPostgreSQLのバージョンを表す2桁の数値です。<productname>PostgreSQL</productname>バージョンに対応する<productname>Pgpool-II</productname>のRPMを選んでください。(例えば、PostgreSQL 17を利用している場合は、<filename>pgpool-II-pg17</filename>を使用してください)
   </para>
 
  <sect2 id="before-installing">
@@ -116,6 +116,10 @@ vi /etc/yum.repos.d/pgdg-redhat-all.repo
 exclude=pgpool*
 
 
+[pgdg17]
+...
+exclude=pgpool*
+
 [pgdg16]
 ...
 exclude=pgpool*
@@ -156,10 +160,10 @@ exclude=pgpool*
   </para>
   <para>
    <!--
-   The following commands assume that you are using Pgpool-II 4.5.x for PostgreSQL 16 on RHEL8.
+   The following commands assume that you are using Pgpool-II 4.6.x for PostgreSQL 17 on RHEL9.
    If you are using other versions, replace "pgXX" with your PostgreSQL version.
    -->
-   以下の手順はRHEL8に<productname>PostgreSQL 16</productname>に対応した<productname>Pgpool-II 4.5.x</productname>をインストールすることが前提となります。
+   以下の手順はRHEL9に<productname>PostgreSQL 17</productname>に対応した<productname>Pgpool-II 4.6.x</productname>をインストールすることが前提となります。
    他のバージョンの<productname>PostgreSQL</productname>を利用している場合は、<productname>PostgreSQL</productname>のバージョンに応じて「pgXX」を適宜置き換えてください。
   </para>
   <para>
@@ -169,10 +173,10 @@ exclude=pgpool*
    For REHL7/9, see <ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">here</ulink>.
    -->
    まず、Pgpool-IIバージョンとディストリビューションに対応するレポジトリをインストールします。
-   REHL7/9の場合は、<ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">こちら</ulink>を参照してください。
+   REHL7/8の場合は、<ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">こちら</ulink>を参照してください。
   </para>
   <programlisting>
-dnf install https://www.pgpool.net/yum/rpms/4.5/redhat/rhel-8-x86_64/pgpool-II-release-4.5-1.noarch.rpm
+dnf install https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-9-x86_64/pgpool-II-release-4.6-1.noarch.rpm
   </programlisting>
   <para>
    <!--
@@ -181,11 +185,11 @@ dnf install https://www.pgpool.net/yum/rpms/4.5/redhat/rhel-8-x86_64/pgpool-II-r
    次に、<productname>Pgpool-II</productname>をインストールします。
   </para>
   <programlisting>
-dnf install pgpool-II-pg16
+dnf install pgpool-II-pg17
   </programlisting>
   <para>
    <!--
-   To use online recovery feature, install <filename>pgpool-II-pg16-extensions</filename>
+   To use online recovery feature, install <filename>pgpool-II-pg17-extensions</filename>
    on <emphasis>all PostgreSQL servers</emphasis>.
    Because <filename>pgpool-II-pgXX-extensions</filename> depends on
    <filename>pgpool-II-pgXX</filename> package,
@@ -208,7 +212,7 @@ dnf install pgpool-II-pg16
    </para>
   </note>
   <programlisting>
-dnf install pgpool-II-pg16-extensions pgpool-II-pg16
+dnf install pgpool-II-pg17-extensions pgpool-II-pg17
   </programlisting>
   <para>
     <!--
@@ -217,7 +221,7 @@ dnf install pgpool-II-pg16-extensions pgpool-II-pg16
    必要に応じて、開発者向けのオプションパッケージdebuginfoおよびdevelパッケージをインストールします。
   </para>
   <programlisting>
-dnf install pgpool-II-pg16-debuginfo pgpool-II-pg16-devel
+dnf install pgpool-II-pg17-debuginfo pgpool-II-pg17-devel
   </programlisting>
  </sect2>
 
index 65e0703d6503f9381e1cc71c19b0b7732bf6984d..65002d0890fbe93c890a2598f45dc8c1dffa2cc6 100644 (file)
@@ -60,7 +60,7 @@
   <productname>Pgpool-II</productname> provides separate packages for each PostgreSQL version.
   "XX" in the above package is a two-digit number representing the version of PostgreSQL.
   Choose <productname>Pgpool-II</productname> RPM corresponding to your PostgreSQL version.
-  (For example, if you are using PostgreSQL 16, you need to install <filename>pgpool-II-pg16</filename>)
+  (For example, if you are using PostgreSQL 17, you need to install <filename>pgpool-II-pg17</filename>)
  </para>
 
  <sect2 id="before-installing">
@@ -86,6 +86,10 @@ vi /etc/yum.repos.d/pgdg-redhat-all.repo
 ...
 exclude=pgpool*
 
+[pgdg17]
+...
+exclude=pgpool*
+
 [pgdg16]
 ...
 exclude=pgpool*
@@ -120,25 +124,25 @@ exclude=pgpool*
   </para>
 
   <para>
-   The following commands assume that you are using Pgpool-II 4.5.x for PostgreSQL 16 on RHEL8.
+   The following commands assume that you are using Pgpool-II 4.6.x for PostgreSQL 17 on RHEL9.
    If you are using other versions, replace "pgXX" with your PostgreSQL version.
   </para>
   <para>
    First, install the repository corresponding to your <productname>Pgpool-II</productname>
    version and distribution.
-   For REHL7/9, see <ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">here</ulink>.
+   For REHL7/8, see <ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">here</ulink>.
   </para>
   <programlisting>
-dnf install https://www.pgpool.net/yum/rpms/4.5/redhat/rhel-8-x86_64/pgpool-II-release-4.5-1.noarch.rpm
+dnf install https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-9-x86_64/pgpool-II-release-4.6-1.noarch.rpm
   </programlisting>
   <para>
    Then, install <productname>Pgpool-II</productname>.
   </para>
   <programlisting>
-dnf install pgpool-II-pg16
+dnf install pgpool-II-pg17
   </programlisting>
   <para>
-   To use online recovery feature, install <filename>pgpool-II-pg16-extensions</filename>
+   To use online recovery feature, install <filename>pgpool-II-pg17-extensions</filename>
    on <emphasis>all PostgreSQL servers</emphasis>.
    Because <filename>pgpool-II-pgXX-extensions</filename> depends on
    <filename>pgpool-II-pgXX</filename> package,
@@ -156,14 +160,14 @@ dnf install pgpool-II-pg16
    </para>
   </note>
   <programlisting>
-dnf install pgpool-II-pg16-extensions pgpool-II-pg16
+dnf install pgpool-II-pg17-extensions pgpool-II-pg17
   </programlisting>
 
   <para>
    Optionally you can install debuginfo and devel packages for developers if necessary.
   </para>
   <programlisting>
-dnf install pgpool-II-pg16-debuginfo pgpool-II-pg16-devel
+dnf install pgpool-II-pg17-debuginfo pgpool-II-pg17-devel
   </programlisting>
  </sect2>