Update the OS version in the documentation.
authorTaiki Koshino <koshino@sraoss.co.jp>
Wed, 12 Nov 2025 08:12:06 +0000 (17:12 +0900)
committerTaiki Koshino <koshino@sraoss.co.jp>
Wed, 12 Nov 2025 08:12:06 +0000 (17:12 +0900)
doc.ja/src/sgml/example-cluster.sgml
doc.ja/src/sgml/example-replication-si-mode.sgml
doc.ja/src/sgml/installation-rpm.sgml
doc.ja/src/sgml/installation-tips.sgml
doc/src/sgml/example-cluster.sgml
doc/src/sgml/example-replication-si-mode.sgml
doc/src/sgml/installation-rpm.sgml
doc/src/sgml/installation-tips.sgml

index de7ec9958a945faf56894e9732fab295a2ed1e80..bd0f1d0f1a3c5b3dfee6c03f5cf4d089999414e8 100644 (file)
@@ -7,8 +7,7 @@
   ใ“ใฎ่จญๅฎšไพ‹ใงใฏใ€3ๅฐใฎ<productname>Pgpool-II</productname>ใ‚’ไฝฟใฃใฆ<productname>PostgreSQL</productname>๏ผˆใƒ—ใƒฉใ‚คใƒžใƒช1ๅฐใ€ใ‚นใ‚ฟใƒณใƒใ‚ค2ๅฐ๏ผ‰ใ‚’็ฎก็†ใ—ใ€ๅ˜ไธ€้šœๅฎณ็‚นใ‚„ใ‚นใƒ—ใƒชใƒƒใƒˆใƒ–ใƒฌใ‚คใƒณใฎ่ตทใใชใ„ๅ …็‰ขใชใ‚ฏใƒฉใ‚นใ‚ฟใ‚’้‹็”จใ™ใ‚‹ใ“ใจใŒๅฏ่ƒฝใงใ™ใ€‚
  </para>
  <para>
-  ใ“ใฎ่จญๅฎšไพ‹ใงใฏ<emphasis><productname>PostgreSQL</productname> 17</emphasis>ใ‚’ไฝฟใฃใฆใ„ใพใ™ใŒใ€
-  ๅ„็จฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏ<productname>PostgreSQL</productname> 10ไปฅ้™ใงใฎๅ‹•ไฝœ็ขบ่ชใ‚’่กŒใฃใฆใ„ใพใ™ใ€‚
+  ใ“ใฎ่จญๅฎšไพ‹ใงใฏ<emphasis><productname>PostgreSQL</productname> 18</emphasis>ใ‚’ไฝฟใฃใฆใ„ใพใ™ใ€‚
  </para>
  <sect2 id="example-cluster-requirement">
   <title>ๅ‰ๆๆกไปถ</title>
@@ -22,7 +21,7 @@
   <title>ๅ…จไฝ“ๆง‹ๆˆ</title>
   <para>
    ไปŠๅ›žใฏใ€Linuxใ‚ตใƒผใƒใ‚’3ๅฐ็”จๆ„ใ—ใ€ใใ‚Œใžใ‚Œใฎใƒ›ใ‚นใƒˆๅใฏ<literal>server1</literal>ใ€<literal>server2</literal>ใ€<literal>server3</literal>ใจใ—ใพใ™ใ€‚
-   ไฝฟ็”จใ™ใ‚‹OSใฏใ™ในใฆ<emphasis>Rocky Linux 9</emphasis>ใจใ—ใพใ™ใ€‚
+   ไฝฟ็”จใ™ใ‚‹OSใฏใ™ในใฆ<emphasis>Rocky Linux 10</emphasis>ใจใ—ใพใ™ใ€‚
    ใใ‚Œใžใ‚Œใฎใ‚ตใƒผใƒใซ<productname>PostgreSQL</productname>ใจ<productname>Pgpool-II</productname>ใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™ใ€‚
    3ๅฐใฎ<productname>PostgreSQL</productname>ใŒใ‚นใƒˆใƒชใƒผใƒŸใƒณใ‚ฐใƒฌใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณๆง‹ๆˆใซใชใ‚Šใพใ™ใ€‚ๅ…จไฝ“ๆง‹ๆˆๅ›ณใฏไปฅไธ‹ใฎ้€šใ‚Šใงใ™ใ€‚
   </para>
@@ -83,7 +82,7 @@
     <tbody>
      <row>
       <entry>PostgreSQLใƒใƒผใ‚ธใƒงใƒณ</entry>
-      <entry>17.0</entry>
+      <entry>18.0</entry>
       <entry>-</entry>
      </row>
      <row>
@@ -93,7 +92,7 @@
      </row>
      <row>
       <entry>$PGDATA</entry>
-      <entry>/var/lib/pgsql/17/data</entry>
+      <entry>/var/lib/pgsql/18/data</entry>
       <entry>-</entry>
      </row>
      <row>
     <tbody>
      <row>
       <entry>Pgpool-IIใƒใƒผใ‚ธใƒงใƒณ</entry>
-      <entry>4.6.0</entry>
+      <entry>4.6.1</entry>
       <entry>-</entry>
      </row>
      <row>
    <productname>PostgreSQL</productname>ใฎใ‚คใƒณใ‚นใƒˆใƒผใƒซใฏ<productname>PostgreSQL</productname>ใ‚ณใƒŸใƒฅใƒ‹ใƒ†ใ‚ฃใฎใƒชใƒใ‚ธใƒˆใƒชใ‚’ไฝฟใ„ใพใ™ใ€‚
   </para>
   <programlisting>
-[ๅ…จใ‚ตใƒผใƒ]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
+[ๅ…จใ‚ตใƒผใƒ]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpm
 [ๅ…จใ‚ตใƒผใƒ]# dnf -qy module disable postgresql
-[ๅ…จใ‚ตใƒผใƒ]# dnf install -y postgresql17-server
+[ๅ…จใ‚ตใƒผใƒ]# dnf install -y postgresql18-server
   </programlisting>
 
   <para>
 exclude=pgpool*
 
 
+[pgdg18]
+...
+exclude=pgpool*
+
 [pgdg17]
 ...
 exclude=pgpool*
@@ -270,10 +273,6 @@ exclude=pgpool*
 
 [pgdg13]
 ...
-exclude=pgpool*
-
-[pgdg12]
-...
 exclude=pgpool*
   </programlisting>
 
@@ -284,8 +283,8 @@ exclude=pgpool*
    
   </para>
   <programlisting>
-[ๅ…จใ‚ตใƒผใƒ]# dnf install -y https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-9-x86_64/pgpool-II-release-4.6-1.noarch.rpm
-[ๅ…จใ‚ตใƒผใƒ]# dnf install -y --enablerepo=crb pgpool-II-pg17-*
+[ๅ…จใ‚ตใƒผใƒ]# dnf install -y https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-10-x86_64/pgpool-II-release-4.6-1.noarch.rpm
+[ๅ…จใ‚ตใƒผใƒ]# dnf install -y --enablerepo=crb pgpool-II-pg18-*
   </programlisting>
  </sect2>
 
@@ -350,7 +349,7 @@ PubkeyAuthentication yes
    <title>firewallใฎ่จญๅฎš</title>
    <para>
     <productname>Pgpool-II</productname>ใ‚„<productname>PostgreSQL</productname>ใซๆŽฅ็ถšใ™ใ‚‹้š›ใซใฏใ€ใƒ•ใ‚กใ‚คใ‚ขใƒผใ‚ฆใ‚ฉใƒผใƒซใซใ‚ˆใฃใฆ็›ฎ็š„ใฎใƒใƒผใƒˆใŒ้–‹ใ‘ใ‚‰ใ‚Œใฆใ„ใชใ‘ใ‚Œใฐใชใ‚Šใพใ›ใ‚“ใ€‚
-    <systemitem>Rocky Linux 9/RHEL 9</systemitem>ใฎๅ ดๅˆใ€ไปฅไธ‹ใฎใ‚ˆใ†ใซ่จญๅฎšใ—ใพใ™ใ€‚
+    <systemitem>Rocky Linux 10/RHEL 10</systemitem>ใฎๅ ดๅˆใ€ไปฅไธ‹ใฎใ‚ˆใ†ใซ่จญๅฎšใ—ใพใ™ใ€‚
    </para>
    <programlisting>
 [ๅ…จใ‚ตใƒผใƒ]# firewall-cmd --permanent --zone=public --add-service=postgresql
@@ -366,16 +365,16 @@ PubkeyAuthentication yes
     </para>
     <para>
      ใพใšใ€ใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚ฏใƒฉใ‚นใ‚ฟใฎๅˆๆœŸๅŒ–ใ‚’่กŒใ„ใพใ™ใ€‚
-     <productname>PostgreSQL</productname> 17ใงใฏใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚ฏใƒฉใ‚นใ‚ฟใฎใƒ‡ใƒ•ใ‚ฉใƒซใƒˆใฎไฝœๆˆๅ…ˆใฏ<filename>/var/lib/pgsql/17/data</filename>ใงใ€<literal>postgres</literal>ใƒฆใƒผใ‚ถใฎ่จญๅฎšใƒ•ใ‚กใ‚คใƒซ<filename>~/.bash_profile</filename>ใง็’ฐๅขƒๅค‰ๆ•ฐ<varname>PGDATA</varname>ใซๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใพใ™ใ€‚
+     <productname>PostgreSQL</productname> 18ใงใฏใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚ฏใƒฉใ‚นใ‚ฟใฎใƒ‡ใƒ•ใ‚ฉใƒซใƒˆใฎไฝœๆˆๅ…ˆใฏ<filename>/var/lib/pgsql/18/data</filename>ใงใ€<literal>postgres</literal>ใƒฆใƒผใ‚ถใฎ่จญๅฎšใƒ•ใ‚กใ‚คใƒซ<filename>~/.bash_profile</filename>ใง็’ฐๅขƒๅค‰ๆ•ฐ<varname>PGDATA</varname>ใซๆŒ‡ๅฎšใ•ใ‚Œใฆใ„ใพใ™ใ€‚
      ๅฟ…่ฆใซๅฟœใ˜ใฆๅค‰ๆ›ดใ—ใฆใใ ใ•ใ„ใ€‚
     </para>
     <para>
      <command>initdb</command>ใ‚ณใƒžใƒณใƒ‰ใ‚’ๅฎŸ่กŒใ—ใฆใ€ใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚ฏใƒฉใ‚นใ‚ฟใฎๅˆๆœŸๅŒ–ใ‚’่กŒใ„ใพใ™ใ€‚
-     ๅฟ…่ฆใซๅฟœใ˜ใฆใ€<literal>--encoding</literal>ใ‚„<literal>--locale</literal><ulink url="https://www.postgresql.org/docs/17/app-initdb.html">ใ‚ชใƒ—ใ‚ทใƒงใƒณ</ulink>ใ‚’ๆŒ‡ๅฎšใ—ใฆใ€ใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใฎใ‚จใƒณใ‚ณใƒผใƒ‡ใ‚ฃใƒณใ‚ฐใ‚„ใƒญใ‚ฑใƒผใƒซใ‚’่จญๅฎšใ—ใฆใใ ใ•ใ„ใ€‚
+     ๅฟ…่ฆใซๅฟœใ˜ใฆใ€<literal>--encoding</literal>ใ‚„<literal>--locale</literal><ulink url="https://www.postgresql.org/docs/18/app-initdb.html">ใ‚ชใƒ—ใ‚ทใƒงใƒณ</ulink>ใ‚’ๆŒ‡ๅฎšใ—ใฆใ€ใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใฎใ‚จใƒณใ‚ณใƒผใƒ‡ใ‚ฃใƒณใ‚ฐใ‚„ใƒญใ‚ฑใƒผใƒซใ‚’่จญๅฎšใ—ใฆใใ ใ•ใ„ใ€‚
     </para>
     <programlisting>
 [root@server1 ~]# su - postgres
-[postgres@server1 ~]$ /usr/pgsql-17/bin/initdb
+[postgres@server1 ~]$ /usr/pgsql-18/bin/initdb
     </programlisting>
 
     <para>
@@ -391,7 +390,7 @@ wal_log_hints = on
      ๆœ€ๅพŒใซใ€<literal>server1</literal>ใง<productname>PostgreSQL</productname>ใ‚’่ตทๅ‹•ใ—ใพใ™ใ€‚
     </para>
    <programlisting>
-[postgres@server1 ~]$ /usr/pgsql-17/bin/pg_ctl start
+[postgres@server1 ~]$ /usr/pgsql-18/bin/pg_ctl start
     </programlisting>
   </sect3>
 
@@ -725,19 +724,19 @@ health_check_max_retries = 3
 backend_hostname0 = 'server1'
 backend_port0 = 5432
 backend_weight0 = 1
-backend_data_directory0 = '/var/lib/pgsql/17/data'
+backend_data_directory0 = '/var/lib/pgsql/18/data'
 backend_flag0 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname1 = 'server2'
 backend_port1 = 5432
 backend_weight1 = 1
-backend_data_directory1 = '/var/lib/pgsql/17/data'
+backend_data_directory1 = '/var/lib/pgsql/18/data'
 backend_flag1 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname2 = 'server3'
 backend_port2 = 5432
 backend_weight2 = 1
-backend_data_directory2 = '/var/lib/pgsql/17/data'
+backend_data_directory2 = '/var/lib/pgsql/18/data'
 backend_flag2 = 'ALLOW_TO_FAILOVER'
    </programlisting>
 
@@ -806,12 +805,12 @@ follow_primary_command = '/etc/pgpool-II/follow_primary.sh %d %h %p %D %m %H %M
    <programlisting>
 [root@server1 ~]# vi /etc/pgpool-II/failover.sh
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
 
 [root@server1 ~]# vi /etc/pgpool-II/follow_primary.sh
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
    </programlisting>
    <para>
@@ -862,14 +861,14 @@ recovery_1st_stage_command = 'recovery_1st_stage'
     ๅŸบๆœฌ็š„ใซใฏ<emphasis>PGHOME</emphasis>ใ‚’็’ฐๅขƒใซๅˆใ‚ใ›ใฆๅค‰ๆ›ดใ™ใ‚Œใฐใ€ๅ‹•ไฝœใ—ใพใ™ใ€‚
    </para>
    <programlisting>
-[root@server1 ~]# vi /var/lib/pgsql/17/data/recovery_1st_stage
+[root@server1 ~]# vi /var/lib/pgsql/18/data/recovery_1st_stage
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
 
-[root@server1 ~]# vi /var/lib/pgsql/17/data/pgpool_remote_start
+[root@server1 ~]# vi /var/lib/pgsql/18/data/pgpool_remote_start
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
    </programlisting>
 
@@ -1163,7 +1162,7 @@ log_rotation_age = 1d
       <productname>PostgreSQL</productname>ใƒ—ใƒฉใ‚คใƒžใƒชใ‚ตใƒผใƒใŒใพใ ่ตทๅ‹•ใ—ใฆใ„ใชใ„ๅ ดๅˆใฏใ€ใพใšๆฌกใฎใ‚ณใƒžใƒณใƒ‰ใ‚’ๅฎŸ่กŒใ—ใฆ<productname>PostgreSQL</productname>่ตทๅ‹•ใ—ใพใ™ใ€‚
      </para>
      <programlisting>
-[root@server1 ~]# su - postgres -c "/usr/pgsql-17/bin/pg_ctl start"
+[root@server1 ~]# su - postgres -c "/usr/pgsql-18/bin/pg_ctl start"
      </programlisting>
      <para>
       <literal>server1</literal>ใ€<literal>server2</literal>ใŠใ‚ˆใณ<literal>server3</literal>ใงไปฅไธ‹ใฎใ‚ณใƒžใƒณใƒ‰ใ‚’ๅฎŸ่กŒใ—ใ€<productname>Pgpool-II</productname>ใ‚’่ตทๅ‹•ใ—ใพใ™ใ€‚
@@ -1304,7 +1303,7 @@ Password for user pgpool:
     ใƒ•ใ‚งใ‚คใƒซใ‚ชใƒผใƒใ™ใ‚‹ใ‹ใฉใ†ใ‹็ขบ่ชใ—ใฆใฟใพใ™ใ€‚
    </para>
    <programlisting>
-[root@server1 ~]# su - postgres -c "/usr/pgsql-17/bin/pg_ctl -m immediate stop"
+[root@server1 ~]# su - postgres -c "/usr/pgsql-18/bin/pg_ctl -m immediate stop"
    </programlisting>
    <para>
     <literal>ใƒŽใƒผใƒ‰1</literal>ใ‚’ๅœๆญขใ—ใŸๅพŒใซใ€ใƒ•ใ‚งใ‚คใƒซใ‚ชใƒผใƒใŒ็™บ็”Ÿใ—ใ€<literal>server2</literal>ใŒ
index 2181e93e73bbb4072c569c9b44c6ac21b7a7eac3..7c27df3e602f0c1d13e54ab8f083b6fe75caebcf 100644 (file)
@@ -16,8 +16,7 @@
   ใƒฌใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใ‚’่กŒใ†็‚นใฏใƒใ‚คใƒ†ใ‚ฃใƒ–ใƒฌใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใƒขใƒผใƒ‰ใจๅŒใ˜ใงใ™ใ€‚
  </para>
  <para>
-  ใ“ใฎ่จญๅฎšไพ‹ใงใฏ<productname>PostgreSQL</productname> 15ใ‚’ไฝฟใฃใฆใ„ใพใ™ใŒใ€
-  ๅ„็จฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏ<productname>PostgreSQL</productname> 10ไปฅ้™ใงใฎๅ‹•ไฝœ็ขบ่ชใ‚’่กŒใฃใฆใ„ใพใ™ใ€‚
+  ใ“ใฎ่จญๅฎšไพ‹ใงใฏ<productname>PostgreSQL</productname> 18ใ‚’ไฝฟใฃใฆใ„ใพใ™ใ€‚
  </para>
 
  <sect2 id="example-replication-mode-structure">
@@ -26,7 +25,7 @@
    ใ“ใฎ่จญๅฎšไพ‹ใงใฏใ€Pgpool-II 1ๅฐใ€PostgreSQL 3ๅฐใ‚’็”จใ„ใฆใ€Pgpool-IIใฎใƒฌใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณๆฉŸ่ƒฝใ‚’่ชฌๆ˜Žใ—ใพใ™ใ€‚
   </para>
   <para>
-   ็‰ฉ็†ใ‚ตใƒผใƒใ‚’3ๅฐ็”จๆ„ใ—ใ€ใใ‚Œใžใ‚Œใฎใƒ›ใ‚นใƒˆๅใฏ ใ€Œserver1ใ€ใ€ใ€Œserver2ใ€ใ€ใ€Œserver3ใ€ ใจใ—ใพใ™ใ€‚ไฝฟ็”จใ™ใ‚‹OSใฏใ™ในใฆCentOS 7.9ใจใ—ใพใ™ใ€‚
+   ็‰ฉ็†ใ‚ตใƒผใƒใ‚’3ๅฐ็”จๆ„ใ—ใ€ใใ‚Œใžใ‚Œใฎใƒ›ใ‚นใƒˆๅใฏ ใ€Œserver1ใ€ใ€ใ€Œserver2ใ€ใ€ใ€Œserver3ใ€ ใจใ—ใพใ™ใ€‚ไฝฟ็”จใ™ใ‚‹OSใฏใ™ในใฆRocky Linux 10ใจใ—ใพใ™ใ€‚
    ใใ‚Œใžใ‚Œใฎใ‚ตใƒผใƒใซPostgreSQLใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใ€ใใฎไธญใฎ1ๅฐใซPgpool-IIใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™ใ€‚
   </para>
   <para>
@@ -78,7 +77,7 @@
     <tbody>
      <row>
       <entry>PostgreSQLใƒใƒผใ‚ธใƒงใƒณ</entry>
-      <entry>15.0</entry>
+      <entry>18.0</entry>
       <entry>-</entry>
      </row>
      <row>
@@ -88,7 +87,7 @@
      </row>
      <row>
       <entry>$PGDATA</entry>
-      <entry>/var/lib/pgsql/15/data</entry>
+      <entry>/var/lib/pgsql/18/data</entry>
       <entry>-</entry>
      </row>
      <row>
     <tbody>
      <row>
       <entry>Pgpool-IIใƒใƒผใ‚ธใƒงใƒณ</entry>
-      <entry>4.3.0</entry>
+      <entry>4.6.1</entry>
       <entry>-</entry>
      </row>
      <row>
    <productname>PostgreSQL</productname>ใฎใ‚คใƒณใ‚นใƒˆใƒผใƒซใฏ<productname>PostgreSQL</productname>ใ‚ณใƒŸใƒฅใƒ‹ใƒ†ใ‚ฃใฎใƒชใƒใ‚ธใƒˆใƒชใ‚’ไฝฟใ„ใพใ™ใ€‚
   </para>
   <programlisting>
-[ๅ…จใ‚ตใƒผใƒ]# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
-[ๅ…จใ‚ตใƒผใƒ]# yum install -y postgresql15-server
+[ๅ…จใ‚ตใƒผใƒ]# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpm
+[ๅ…จใ‚ตใƒผใƒ]# yum install -y postgresql18-server
   </programlisting>
 
   <para>
 exclude=pgpool*
 
 
-[pgdg15]
+[pgdg18]
 ...
 exclude=pgpool*
 
-[pgdg14]
+[pgdg17]
 ...
 exclude=pgpool*
 
-[pgdg13]
+[pgdg16]
 ...
 exclude=pgpool*
 
-[pgdg12]
+[pgdg15]
 ...
 exclude=pgpool*
 
-[pgdg11]
+[pgdg14]
 ...
 exclude=pgpool*
 
-[pgdg10]
+[pgdg13]
 ...
 exclude=pgpool*
   </programlisting>
@@ -210,8 +209,8 @@ exclude=pgpool*
    <productname>Pgpool-II</productname>ใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™ใ€‚
   </para>
   <programlisting>
-[ๅ…จใ‚ตใƒผใƒ]# yum install -y https://www.pgpool.net/yum/rpms/4.4/redhat/rhel-7-x86_64/pgpool-II-release-4.4-1.noarch.rpm
-[ๅ…จใ‚ตใƒผใƒ]# yum install -y pgpool-II-pg15-*
+[ๅ…จใ‚ตใƒผใƒ]# yum install -y https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-10-x86_64/pgpool-II-release-4.6-1.noarch.rpm
+[ๅ…จใ‚ตใƒผใƒ]# yum install -y pgpool-II-pg18-*
   </programlisting>
  </sect2>
 
@@ -295,7 +294,7 @@ server3:5432:postgres:postgres:&lt;postgresใƒฆใƒผใ‚ถใฎใƒ‘ใ‚นใƒฏใƒผใƒ‰&gt;
    <para>
     <productname>Pgpool-II</productname>ใ‚„<productname>PostgreSQL</productname>ใซๆŽฅ็ถšใ™ใ‚‹้š›ใซใฏใ€
     ใƒ•ใ‚กใ‚คใ‚ขใƒผใ‚ฆใ‚ฉใƒผใƒซใซใ‚ˆใฃใฆ็›ฎ็š„ใฎใƒใƒผใƒˆใŒ้–‹ใ‘ใ‚‰ใ‚Œใฆใ„ใชใ‘ใ‚Œใฐใชใ‚Šใพใ›ใ‚“ใ€‚
-    <systemitem>CentOS/RHEL7</systemitem>ใฎๅ ดๅˆใ€ไปฅไธ‹ใฎใ‚ˆใ†ใซ่จญๅฎšใ—ใพใ™ใ€‚
+    <systemitem>Rocky Linux 10/RHEL 10</systemitem>ใฎๅ ดๅˆใ€ไปฅไธ‹ใฎใ‚ˆใ†ใซ่จญๅฎšใ—ใพใ™ใ€‚
    </para>
    <programlisting>
 [ๅ…จใ‚ตใƒผใƒ]# firewall-cmd --permanent --zone=public --add-service=postgresql
@@ -332,7 +331,7 @@ server3:5432:postgres:postgres:&lt;postgresใƒฆใƒผใ‚ถใฎใƒ‘ใ‚นใƒฏใƒผใƒ‰&gt;
   </para>
   <programlisting>
 [server1]# su - postgres
-[server1]$ /usr/pgsql-15/bin/initdb -E UTF8 --no-locale
+[server1]$ /usr/pgsql-18/bin/initdb -E UTF8 --no-locale
   </programlisting>
   <para>
    ๆฌกใซ<literal>server1</literal>ใซใฆใ€่จญๅฎšใƒ•ใ‚กใ‚คใƒซ<filename>$PGDATA/postgresql.conf</filename>ใ‚’ไปฅไธ‹ใฎใ‚ˆใ†ใซ็ทจ้›†ใ—ใพใ™ใ€‚
@@ -361,7 +360,7 @@ host    replication     all             samenet                 scram-sha-256
    server1ใงไปฅไธ‹ใฎใ‚ณใƒžใƒณใƒ‰ใ‚’ๅฎŸ่กŒใ—ใ€PostgreSQLใ‚’่ตทๅ‹•ใ—ใพใ™ใ€‚
   </para>
   <programlisting>
-[server1]$ /usr/pgsql-15/bin/pg_ctl start
+[server1]$ /usr/pgsql-18/bin/pg_ctl start
   </programlisting>
 
   <para>
@@ -511,19 +510,19 @@ health_check_max_retries = 3
 backend_hostname0 = 'server1'
 backend_port0 = 5432
 backend_weight0 = 1
-backend_data_directory0 = '/var/lib/pgsql/15/data'
+backend_data_directory0 = '/var/lib/pgsql/18/data'
 backend_flag0 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname1 = 'server2'
 backend_port1 = 5432
 backend_weight1 = 1
-backend_data_directory1 = '/var/lib/pgsql/15/data'
+backend_data_directory1 = '/var/lib/pgsql/18/data'
 backend_flag1 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname2 = 'server3'
 backend_port2 = 5432
 backend_weight2 = 1
-backend_data_directory2 = '/var/lib/pgsql/15/data'
+backend_data_directory2 = '/var/lib/pgsql/18/data'
 backend_flag2 = 'ALLOW_TO_FAILOVER'
    </programlisting>
   </sect3>
@@ -554,28 +553,28 @@ recovery_2nd_stage_command = 'recovery_2nd_stage.sh'
     ใ“ใ‚Œใ‚‰ใฎใƒ•ใ‚กใ‚คใƒซใ‚’mainใƒŽใƒผใƒ‰(<literal>server1</literal>)ใฎใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚ฏใƒฉใ‚นใ‚ฟ้…ไธ‹ใซ้…็ฝฎใ—ใพใ™ใ€‚
    </para>
    <programlisting>
-[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_1st_stage.sample /var/lib/pgsql/15/data/recovery_1st_stage.sh
-[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_2nd_stage.sample /var/lib/pgsql/15/data/recovery_2nd_stage.sh
-[server1]# cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample /var/lib/pgsql/15/data/pgpool_remote_start
-[server1]# chown postgres:postgres /var/lib/pgsql/15/data/{recovery_1st_stage.sh,recovery_2nd_stage.sh,pgpool_remote_start}
+[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_1st_stage.sample /var/lib/pgsql/18/data/recovery_1st_stage.sh
+[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_2nd_stage.sample /var/lib/pgsql/18/data/recovery_2nd_stage.sh
+[server1]# cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample /var/lib/pgsql/18/data/pgpool_remote_start
+[server1]# chown postgres:postgres /var/lib/pgsql/18/data/{recovery_1st_stage.sh,recovery_2nd_stage.sh,pgpool_remote_start}
    </programlisting>
    <para>
     ๅŸบๆœฌ็š„ใซใฏ<emphasis>PGHOME</emphasis>ใ‚’็’ฐๅขƒใซๅˆใ‚ใ›ใฆๅค‰ๆ›ดใ™ใ‚Œใฐใ€ๅ‹•ไฝœใ—ใพใ™ใ€‚
    </para>
    <programlisting>
-[server1]# vi /var/lib/pgsql/15/data/recovery_1st_stage.sh
+[server1]# vi /var/lib/pgsql/18/data/recovery_1st_stage.sh
 ...
-PGHOME=/usr/pgsql-15
+PGHOME=/usr/pgsql-18
 ...
 
-[server1]# vi /var/lib/pgsql/15/data/recovery_2nd_stage.sh
+[server1]# vi /var/lib/pgsql/18/data/recovery_2nd_stage.sh
 ...
-PGHOME=/usr/pgsql-15
+PGHOME=/usr/pgsql-18
 ...
 
-[server1]# vi /var/lib/pgsql/15/data/pgpool_remote_start
+[server1]# vi /var/lib/pgsql/18/data/pgpool_remote_start
 ...
-PGHOME=/usr/pgsql-15
+PGHOME=/usr/pgsql-18
 ...
    </programlisting>
 
@@ -778,15 +777,15 @@ Password for user pgpool:
     pgbenchใ‚’ไฝฟใฃใฆใ€ใƒฌใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณๆฉŸ่ƒฝใ‚’่ฉฆใ—ใฆใฟใพใ—ใ‚‡ใ†ใ€‚
    </para>
    <programlisting>
-[server1]# /usr/pgsql-15/bin/createdb test -U postgres -p 9999
-[server1]# /usr/pgsql-15/bin/pgbench -h server1 -U postgres -i -p 9999 test
+[server1]# /usr/pgsql-18/bin/createdb test -U postgres -p 9999
+[server1]# /usr/pgsql-18/bin/pgbench -h server1 -U postgres -i -p 9999 test
    </programlisting>
    <para>
     <productname>Pgpool-II</productname>ใฎใƒฌใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณๆฉŸ่ƒฝใŒๆญฃใ—ใๅ‹•ใ„ใฆใ„ใ‚‹ใ‹ใฉใ†ใ‹็ขบใ‹ใ‚ใ‚‹ใŸใ‚ใซใ€
     ใใ‚Œใžใ‚ŒใฎใƒŽใƒผใƒ‰ใซๆŽฅ็ถšใ—ใฆใ€ๅŒใ˜็ตๆžœใ‚’่ฟ”ใ™ใ‹ใฉใ†ใ‹่ฆ‹ใฆใฟใพใ™ใ€‚
    </para>
    <programlisting>
-[server1]# /usr/pgsql-15/bin/psql -h server1 -U postgres -p 5432 test
+[server1]# /usr/pgsql-18/bin/psql -h server1 -U postgres -p 5432 test
 test=# \d
               List of relations
  Schema |       Name       | Type  |  Owner
@@ -797,7 +796,7 @@ test=# \d
  public | pgbench_tellers  | table | postgres
 (4 rows)
 
-[server1]# /usr/pgsql-15/bin/psql -h server2 -U postgres -p 5432 test
+[server1]# /usr/pgsql-18/bin/psql -h server2 -U postgres -p 5432 test
 test=# \d
               List of relations
  Schema |       Name       | Type  |  Owner
@@ -808,7 +807,7 @@ test=# \d
  public | pgbench_tellers  | table | postgres
 (4 rows)
 
-[server1]# /usr/pgsql-15/bin/psql -h server3 -U postgres -p 5432 test
+[server1]# /usr/pgsql-18/bin/psql -h server3 -U postgres -p 5432 test
 test=# \d
               List of relations
  Schema |       Name       | Type  |  Owner
@@ -826,27 +825,27 @@ test=# \d
     ๆฌกใซใ€pgbenchใ‚’ใ—ใฐใ‚‰ใ่ตฐใ‚‰ใ›ใฆใ€็ตๆžœใ‚’่ฆ‹ใฆใฟใพใ™ใ€‚
    </para>
    <programlisting>
-[server1]# /usr/pgsql-15/bin/pgbench -h server1 -U postgres -p 9999 -T 10 test
+[server1]# /usr/pgsql-18/bin/pgbench -h server1 -U postgres -p 9999 -T 10 test
    </programlisting>
    <para>
     ใ™ในใฆใฎPostgreSQLใฏใ€ๅŒไธ€ใฎ็ตๆžœใ‚’่ฟ”ใ—ใฆใ„ใพใ™ใ€‚
    </para>
    <programlisting>
-[server1]# /usr/pgsql-15/bin/psql -h server1 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
+[server1]# /usr/pgsql-18/bin/psql -h server1 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
 Password for user postgres:
   sum
 --------
  -99710
 (1 row)
 
-[server1]# /usr/pgsql-15/bin/psql -h server2 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
+[server1]# /usr/pgsql-18/bin/psql -h server2 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
 Password for user postgres:
   sum
 --------
  -99710
 (1 row)
 
-[server1]# /usr/pgsql-15/bin/psql -h server3 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
+[server1]# /usr/pgsql-18/bin/psql -h server3 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
 Password for user postgres:
   sum
 --------
@@ -862,7 +861,7 @@ Password for user postgres:
     mainใƒŽใƒผใƒ‰ใฎๅˆ‡ใ‚Šๆ›ฟใˆใ‚’็ขบ่ชใ—ใฆใฟใพใ™ใ€‚
    </para>
    <programlisting>
-[server1]# su - postgres -c "/usr/pgsql-15/bin/pg_ctl -m i stop"
+[server1]# su - postgres -c "/usr/pgsql-18/bin/pg_ctl -m i stop"
    </programlisting>
    <para>
     <literal>ใƒŽใƒผใƒ‰0</literal>ใ‚’ๅœๆญขใ—ใŸๅพŒใซใ€ใƒŽใƒผใƒ‰0ใŒๅˆ‡ใ‚Š้›ขใ•ใ‚Œใฆใ€mainใƒŽใƒผใƒ‰ใฎๅˆ‡ใ‚Šๆ›ฟใˆใŒ็™บ็”Ÿใ™ใ‚‹ใ“ใจใ‚’็ขบ่ชใ—ใพใ™ใ€‚
index dd862c7f7dc71e436fb9d4e4dbc24d67774a344d..8f4c4ddd9082c2f17ade48a88717ad93534493ad 100644 (file)
  </para>
   <para>
    <!--
-   <productname>Pgpool-II</productname> community provides RPM packages for RHEL9/8/7
+   <productname>Pgpool-II</productname> community provides RPM packages for RHEL10/9/8
    and the operating system which is compatible with RHEL.
    You can download package files from
    <ulink url="https://www.pgpool.net/yum/">official Pgpool-II repository</ulink>.
    -->
-   <productname>Pgpool-II</productname>ใ‚ณใƒŸใƒฅใƒ‹ใƒ†ใ‚ฃใฏRHEL9/8/7ใŠใ‚ˆใณไบ’ๆ›OSๅ‘ใ‘ใซRPMใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใ‚’ๆไพ›ใ—ใฆใ„ใพใ™ใ€‚
+   <productname>Pgpool-II</productname>ใ‚ณใƒŸใƒฅใƒ‹ใƒ†ใ‚ฃใฏRHEL10/9/8ใŠใ‚ˆใณไบ’ๆ›OSๅ‘ใ‘ใซRPMใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใ‚’ๆไพ›ใ—ใฆใ„ใพใ™ใ€‚
    ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใƒ•ใ‚กใ‚คใƒซใฏ<ulink url="https://www.pgpool.net/yum/">Pgpool-IIใฎๅ…ฌๅผใƒชใƒใ‚ธใƒˆใƒช</ulink>ใ‹ใ‚‰ๅ…ฅๆ‰‹ใงใใพใ™ใ€‚
   </para>
   <para>
      </row>
      <row>
       <entry>pgpool-II-pgXX-debugsource</entry>
-      <entry>RHEL8/9ใฎๅ ดๅˆใฎใฟใ€‚ใƒ‡ใƒใƒƒใ‚ฐๆƒ…ๅ ฑใŒๅซใพใ‚Œใ‚‹</entry>
+      <entry>RHEL10/9/8ใฎๅ ดๅˆใฎใฟใ€‚ใƒ‡ใƒใƒƒใ‚ฐๆƒ…ๅ ฑใŒๅซใพใ‚Œใ‚‹</entry>
      </row>
      <row>
       <entry>pgpool-II-pgXX-extensions-debuginfo</entry>
-      <entry>RHEL8/9ใฎๅ ดๅˆใฎใฟใ€‚ใƒ‡ใƒใƒƒใ‚ฐๆƒ…ๅ ฑใŒๅซใพใ‚Œใ‚‹</entry>
+      <entry>RHEL10/9/8ใฎๅ ดๅˆใฎใฟใ€‚ใƒ‡ใƒใƒƒใ‚ฐๆƒ…ๅ ฑใŒๅซใพใ‚Œใ‚‹</entry>
      </row>
      <row>
       <entry>pgpool-II-pgXX-devel</entry>
    <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 17, you need to install <filename>pgpool-II-pg17</filename>)
+   (For example, if you are using PostgreSQL 18, you need to install <filename>pgpool-II-pg18</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 17ใ‚’ๅˆฉ็”จใ—ใฆใ„ใ‚‹ๅ ดๅˆใฏใ€<filename>pgpool-II-pg17</filename>ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„)
+   ไธŠ่จ˜ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎใ€ŒXXใ€ใฏPostgreSQLใฎใƒใƒผใ‚ธใƒงใƒณใ‚’่กจใ™2ๆกใฎๆ•ฐๅ€คใงใ™ใ€‚<productname>PostgreSQL</productname>ใƒใƒผใ‚ธใƒงใƒณใซๅฏพๅฟœใ™ใ‚‹<productname>Pgpool-II</productname>ใฎRPMใ‚’้ธใ‚“ใงใใ ใ•ใ„ใ€‚(ไพ‹ใˆใฐใ€PostgreSQL 18ใ‚’ๅˆฉ็”จใ—ใฆใ„ใ‚‹ๅ ดๅˆใฏใ€<filename>pgpool-II-pg18</filename>ใ‚’ไฝฟ็”จใ—ใฆใใ ใ•ใ„)
   </para>
 
  <sect2 id="before-installing">
@@ -116,6 +116,10 @@ vi /etc/yum.repos.d/pgdg-redhat-all.repo
 exclude=pgpool*
 
 
+[pgdg18]
+...
+exclude=pgpool*
+
 [pgdg17]
 ...
 exclude=pgpool*
@@ -134,14 +138,6 @@ exclude=pgpool*
 
 [pgdg13]
 ...
-exclude=pgpool*
-
-[pgdg12]
-...
-exclude=pgpool*
-
-[pgdg11]
-...
 exclude=pgpool*
   </programlisting>
  </sect2>
@@ -160,23 +156,23 @@ exclude=pgpool*
   </para>
   <para>
    <!--
-   The following commands assume that you are using Pgpool-II 4.6.x for PostgreSQL 17 on RHEL9.
+   The following commands assume that you are using Pgpool-II 4.6.x for PostgreSQL 18 on RHEL10.
    If you are using other versions, replace "pgXX" with your PostgreSQL version.
    -->
-   ไปฅไธ‹ใฎๆ‰‹้ †ใฏRHEL9ใซ<productname>PostgreSQL 17</productname>ใซๅฏพๅฟœใ—ใŸ<productname>Pgpool-II 4.6.x</productname>ใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ™ใ‚‹ใ“ใจใŒๅ‰ๆใจใชใ‚Šใพใ™ใ€‚
+   ไปฅไธ‹ใฎๆ‰‹้ †ใฏRHEL10ใซ<productname>PostgreSQL 18</productname>ใซๅฏพๅฟœใ—ใŸ<productname>Pgpool-II 4.6.x</productname>ใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ™ใ‚‹ใ“ใจใŒๅ‰ๆใจใชใ‚Šใพใ™ใ€‚
    ไป–ใฎใƒใƒผใ‚ธใƒงใƒณใฎ<productname>PostgreSQL</productname>ใ‚’ๅˆฉ็”จใ—ใฆใ„ใ‚‹ๅ ดๅˆใฏใ€<productname>PostgreSQL</productname>ใฎใƒใƒผใ‚ธใƒงใƒณใซๅฟœใ˜ใฆใ€ŒpgXXใ€ใ‚’้ฉๅฎœ็ฝฎใๆ›ใˆใฆใใ ใ•ใ„ใ€‚
   </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 REHL9/8, see <ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">here</ulink>.
    -->
    ใพใšใ€Pgpool-IIใƒใƒผใ‚ธใƒงใƒณใจใƒ‡ใ‚ฃใ‚นใƒˆใƒชใƒ“ใƒฅใƒผใ‚ทใƒงใƒณใซๅฏพๅฟœใ™ใ‚‹ใƒฌใƒใ‚ธใƒˆใƒชใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™ใ€‚
-   REHL7/8ใฎๅ ดๅˆใฏใ€<ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">ใ“ใกใ‚‰</ulink>ใ‚’ๅ‚็…งใ—ใฆใใ ใ•ใ„ใ€‚
+   REHL9/8ใฎๅ ดๅˆใฏใ€<ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">ใ“ใกใ‚‰</ulink>ใ‚’ๅ‚็…งใ—ใฆใใ ใ•ใ„ใ€‚
   </para>
   <programlisting>
-dnf install https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-9-x86_64/pgpool-II-release-4.6-1.noarch.rpm
+dnf install https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-10-x86_64/pgpool-II-release-4.6-1.noarch.rpm
   </programlisting>
   <para>
    <!--
@@ -185,7 +181,7 @@ dnf install https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-9-x86_64/pgpool-II-r
    ๆฌกใซใ€<productname>Pgpool-II</productname>ใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™ใ€‚
   </para>
   <programlisting>
-dnf install pgpool-II-pg17
+dnf install pgpool-II-pg18
   </programlisting>
   <para>
    <!--
@@ -212,7 +208,7 @@ dnf install pgpool-II-pg17
    </para>
   </note>
   <programlisting>
-dnf install pgpool-II-pg17-extensions pgpool-II-pg17
+dnf install pgpool-II-pg18-extensions pgpool-II-pg18
   </programlisting>
   <para>
     <!--
@@ -221,7 +217,7 @@ dnf install pgpool-II-pg17-extensions pgpool-II-pg17
    ๅฟ…่ฆใซๅฟœใ˜ใฆใ€้–‹็™บ่€…ๅ‘ใ‘ใฎใ‚ชใƒ—ใ‚ทใƒงใƒณใƒ‘ใƒƒใ‚ฑใƒผใ‚ธdebuginfoใŠใ‚ˆใณdevelใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ—ใพใ™ใ€‚
   </para>
   <programlisting>
-dnf install pgpool-II-pg17-debuginfo pgpool-II-pg17-devel
+dnf install pgpool-II-pg18-debuginfo pgpool-II-pg18-devel
   </programlisting>
  </sect2>
 
@@ -249,9 +245,9 @@ dnf install pgpool-II-pg17-debuginfo pgpool-II-pg17-devel
   <title>Pgpool-IIใฎ่ตทๅ‹•ใจๅœๆญข</title>
   <para>
    <!--
-   On RHEL7,8/CentOS7,8, do this once, if set the automatic startup of <productname>Pgpool-II</productname>.
+   On RHEL10/9/8, do this once, if set the automatic startup of <productname>Pgpool-II</productname>.
    -->
-   RHEL7/8/9ใงใฏใ€<productname>Pgpool-II</productname>ใฎ่‡ชๅ‹•่ตทๅ‹•ใ‚’่จญๅฎšใ™ใ‚‹ๅ ดๅˆใ€ไปฅไธ‹ใ‚’ๅฎŸ่กŒใ—ใฆใใ ใ•ใ„ใ€‚
+   RHEL10/9/8ใงใฏใ€<productname>Pgpool-II</productname>ใฎ่‡ชๅ‹•่ตทๅ‹•ใ‚’่จญๅฎšใ™ใ‚‹ๅ ดๅˆใ€ไปฅไธ‹ใ‚’ๅฎŸ่กŒใ—ใฆใใ ใ•ใ„ใ€‚
    <programlisting>
 systemctl enable pgpool.service
    </programlisting>
index 3edf23156798a5f8cbc3ba2162b7fe7578072202..f11f3e53323819b356c8e30728da2107ed6cd00a 100644 (file)
   </para>
   <para>
    <!--
-   Here is an example for CentOS/RHEL7 when access
+   Here is an example for Rocky Linux/RHEL10 when access
    to <productname>PostgreSQL</productname> is required.
    -->
-   CentOS/RHEL7ใซใŠใ„ใฆใ€<productname>PostgreSQL</productname>ใซใ‚ขใ‚ฏใ‚ปใ‚นใŒๅฟ…่ฆใชๅ ดๅˆใฎไพ‹ใ‚’็คบใ—ใพใ™ใ€‚
+   Rocky Linux/RHEL10ใซใŠใ„ใฆใ€<productname>PostgreSQL</productname>ใซใ‚ขใ‚ฏใ‚ปใ‚นใŒๅฟ…่ฆใชๅ ดๅˆใฎไพ‹ใ‚’็คบใ—ใพใ™ใ€‚
    <programlisting>
     firewall-cmd --permanent --zone=public --add-service=postgresql
     firewall-cmd --reload
index a731cceffe0610782afd493dd5f3d78832fdad0e..49d9e3d6bc97aeb1a97d59e2dd4495b537119454 100644 (file)
@@ -7,8 +7,7 @@
   servers to create a robust cluster system and avoid the single point of failure or split brain.
  </para>
  <para>
-  <emphasis><productname>PostgreSQL</productname> 17</emphasis> is used in this configuration example.
-  All scripts have been tested with <productname>PostgreSQL</productname> 10 and later.
+  <emphasis><productname>PostgreSQL</productname> 18</emphasis> is used in this configuration example.
  </para>
  <sect2 id="example-cluster-requirement">
   <title>Requirements</title>
@@ -20,7 +19,7 @@
  <sect2 id="example-cluster-structure">
   <title>Cluster System Configuration</title>
   <para>
-   We use three servers with <emphasis>Rocky Linux 9</emphasis> installed and
+   We use three servers with <emphasis>Rocky Linux 10</emphasis> installed and
    the hostnames of the three servers are <literal>server1</literal>
    <literal>server2</literal> and <literal>server3</literal> respectively.
    We install <productname>PostgreSQL</productname> and <productname>Pgpool-II</productname> on each server.
@@ -82,7 +81,7 @@
     <tbody>
      <row>
       <entry>PostgreSQL Version</entry>
-      <entry>17.0</entry>
+      <entry>18.0</entry>
       <entry>-</entry>
      </row>
      <row>
@@ -92,7 +91,7 @@
      </row>
      <row>
       <entry>$PGDATA</entry>
-      <entry>/var/lib/pgsql/17/data</entry>
+      <entry>/var/lib/pgsql/18/data</entry>
       <entry>-</entry>
      </row>
      <row>
     <tbody>
      <row>
       <entry>Pgpool-II Version</entry>
-      <entry>4.6.0</entry>
+      <entry>4.6.1</entry>
       <entry>-</entry>
      </row>
      <row>
    Install <productname>PostgreSQL</productname> from <productname>PostgreSQL</productname> YUM repository.
   </para>
   <programlisting>
-[all servers]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
+[all servers]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpm
 [all servers]# dnf -qy module disable postgresql
-[all servers]# dnf install -y postgresql17-server
+[all servers]# dnf install -y postgresql18-server
   </programlisting>
   <para>
    Since <productname>Pgpool-II</productname> related packages are also included in <productname>PostgreSQL</productname> YUM repository,
 ...
 exclude=pgpool*
 
+[pgdg18]
+...
+exclude=pgpool*
+
 [pgdg17]
 ...
 exclude=pgpool*
@@ -267,10 +270,6 @@ exclude=pgpool*
 
 [pgdg13]
 ...
-exclude=pgpool*
-
-[pgdg12]
-...
 exclude=pgpool*
   </programlisting>
 
@@ -285,7 +284,7 @@ exclude=pgpool*
   </para>
   <programlisting>
 [all servers]# dnf install -y https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-9-x86_64/pgpool-II-release-4.6-1.noarch.rpm
-[all servers]# dnf install -y --enablerepo=crb pgpool-II-pg17-*
+[all servers]# dnf install -y --enablerepo=crb pgpool-II-pg18-*
   </programlisting>
  </sect2>
 
@@ -358,7 +357,7 @@ PubkeyAuthentication yes
   <sect3 id="example-cluster-before-starting-firewall">
    <title>Setting up firewall</title>
    <para>
-    When connect to <productname>Pgpool-II</productname> and <productname>PostgreSQL</productname> servers, the target port must be accessible by enabling firewall management softwares. Following is an example for <systemitem>Rocky Linux 8/RHEL 8</systemitem>.
+    When connect to <productname>Pgpool-II</productname> and <productname>PostgreSQL</productname> servers, the target port must be accessible by enabling firewall management softwares. Following is an example for <systemitem>Rocky Linux 10/RHEL 10</systemitem>.
    </para>
    <programlisting>
 [all servers]# firewall-cmd --permanent --zone=public --add-service=postgresql
@@ -375,21 +374,21 @@ PubkeyAuthentication yes
 
    <para>
     First, initialize the database cluster. 
-    In <productname>PostgreSQL</productname> 17, the default directory
-    for creating the database cluster is <filename>/var/lib/pgsql/17/data</filename>,
+    In <productname>PostgreSQL</productname> 18, the default directory
+    for creating the database cluster is <filename>/var/lib/pgsql/18/data</filename>,
     and this is specified in the environment variable <varname>PGDATA</varname>
     in the <filename>~/.bash_profile</filename> of the <literal>postgres</literal>
     user. Modify it if you want to change the default path.
    </para>
    <para>
     Run <command>initdb</command> to initialize the database cluster.
-    Specify <ulink url="https://www.postgresql.org/docs/17/app-initdb.html">options</ulink>
+    Specify <ulink url="https://www.postgresql.org/docs/18/app-initdb.html">options</ulink>
     such as <literal>--encoding</literal> and <literal>--locale</literal>
     if you need to configure the database encoding and locale settings.
    </para>
    <programlisting>
 [root@server1 ~]# su - postgres
-[postgres@server1 ~]$ /usr/pgsql-17/bin/initdb
+[postgres@server1 ~]$ /usr/pgsql-18/bin/initdb
     </programlisting>
 
     <para>
@@ -406,7 +405,7 @@ wal_log_hints = on
      Start <productname>PostgreSQL</productname> on <literal>server1</literal>.
     </para>
    <programlisting>
-[postgres@server1 ~]$ /usr/pgsql-17/bin/pg_ctl start
+[postgres@server1 ~]$ /usr/pgsql-18/bin/pg_ctl start
     </programlisting>
   </sect3>
 
@@ -776,19 +775,19 @@ health_check_max_retries = 3
 backend_hostname0 = 'server1'
 backend_port0 = 5432
 backend_weight0 = 1
-backend_data_directory0 = '/var/lib/pgsql/17/data'
+backend_data_directory0 = '/var/lib/pgsql/18/data'
 backend_flag0 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname1 = 'server2'
 backend_port1 = 5432
 backend_weight1 = 1
-backend_data_directory1 = '/var/lib/pgsql/17/data'
+backend_data_directory1 = '/var/lib/pgsql/18/data'
 backend_flag1 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname2 = 'server3'
 backend_port2 = 5432
 backend_weight2 = 1
-backend_data_directory2 = '/var/lib/pgsql/17/data'
+backend_data_directory2 = '/var/lib/pgsql/18/data'
 backend_flag2 = 'ALLOW_TO_FAILOVER'
    </programlisting>
    <para>
@@ -860,12 +859,12 @@ follow_primary_command = '/etc/pgpool-II/follow_primary.sh %d %h %p %D %m %H %M
    <programlisting>
 [root@server1 ~]# vi /etc/pgpool-II/failover.sh
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
 
 [root@server1 ~]# vi /etc/pgpool-II/follow_primary.sh
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
    </programlisting>
 
@@ -923,14 +922,14 @@ recovery_1st_stage_command = 'recovery_1st_stage'
     Basically, it should work if you change <emphasis>PGHOME</emphasis> according to PostgreSQL installation directory.
    </para>
    <programlisting>
-[root@server1 ~]# vi /var/lib/pgsql/17/data/recovery_1st_stage
+[root@server1 ~]# vi /var/lib/pgsql/18/data/recovery_1st_stage
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
 
-[root@server1 ~]# vi /var/lib/pgsql/17/data/pgpool_remote_start
+[root@server1 ~]# vi /var/lib/pgsql/18/data/pgpool_remote_start
 ...
-PGHOME=/usr/pgsql-17
+PGHOME=/usr/pgsql-18
 ...
    </programlisting>
 
@@ -1245,7 +1244,7 @@ log_rotation_age = 1d
       using the following command.
      </para>
      <programlisting>
-[root@server1 ~]# su - postgres -c "/usr/pgsql-17/bin/pg_ctl start"
+[root@server1 ~]# su - postgres -c "/usr/pgsql-18/bin/pg_ctl start"
      </programlisting>
      <para>
       Start <productname>Pgpool-II</productname> on <literal>server1</literal>,
@@ -1402,7 +1401,7 @@ Password for user pgpool:
     automatically.
    </para>
    <programlisting>
-[root@server1 ~]# su - postgres -c "/usr/pgsql-17/bin/pg_ctl -m immediate stop"
+[root@server1 ~]# su - postgres -c "/usr/pgsql-18/bin/pg_ctl -m immediate stop"
    </programlisting>
    <para>
     After stopping <productname>PostgreSQL</productname> on
index 594274502d6a40615433ff6e710b2261173fac73..993ff068a2463b3e7a5e8a3c282e2f4893e5aa03 100644 (file)
@@ -16,8 +16,7 @@
   the visibility consistency among nodes.
  </para>
  <para>
-  <productname>PostgreSQL</productname> 14 is used in this configuration example.
-  All scripts have been tested with <productname>PostgreSQL</productname> 10 and later.
+  <productname>PostgreSQL</productname> 18 is used in this configuration example.
  </para>
 
  <sect2 id="example-replication-mode-structure">
@@ -28,7 +27,7 @@
    replication.
   </para>
   <para>
-   In this example we use 3 servers with CentOS 7.9 installed.
+   In this example we use 3 servers with Rocky Linux 10 installed.
    Let these servers be <literal>server1</literal>,
    <literal>server2</literal>, <literal>server3</literal>.
    We install <productname>PostgreSQL</productname> on all servers and
@@ -84,7 +83,7 @@
     <tbody>
      <row>
       <entry>PostgreSQL Version</entry>
-      <entry>14.0</entry>
+      <entry>18.0</entry>
       <entry>-</entry>
      </row>
      <row>
@@ -94,7 +93,7 @@
      </row>
      <row>
       <entry>$PGDATA</entry>
-      <entry>/var/lib/pgsql/14/data</entry>
+      <entry>/var/lib/pgsql/18/data</entry>
       <entry>-</entry>
      </row>
      <row>
    Install <productname>PostgreSQL</productname> from <productname>PostgreSQL</productname> YUM repository.
   </para>
   <programlisting>
-[all servers]# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
-[all servers]# yum install -y postgresql14-server
+[all servers]# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpm
+[all servers]# yum install -y postgresql18-server
   </programlisting>
 
   <para>
 ...
 exclude=pgpool*
 
-[pgdg14]
+[pgdg18]
 ...
 exclude=pgpool*
 
-[pgdg13]
+[pgdg17]
 ...
 exclude=pgpool*
 
-[pgdg12]
+[pgdg16]
 ...
 exclude=pgpool*
 
-[pgdg11]
+[pgdg15]
 ...
 exclude=pgpool*
 
-[pgdg10]
+[pgdg14]
 ...
 exclude=pgpool*
 
-[pgdg96]
+[pgdg13]
+...
+exclude=pgpool*
 ...
 exclude=pgpool*
   </programlisting>
@@ -212,8 +213,8 @@ exclude=pgpool*
    Install <productname>Pgpool-II</productname> using Pgpool-II YUM repository.
   </para>
   <programlisting>
-[all servers]# yum install -y https://www.pgpool.net/yum/rpms/4.4/redhat/rhel-7-x86_64/pgpool-II-release-4.4-1.noarch.rpm
-[all servers]# yum install -y pgpool-II-pg14-*
+[all servers]# yum install -y https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-10-x86_64/pgpool-II-release-4.6-1.noarch.rpm
+[all servers]# yum install -y pgpool-II-pg18-*
   </programlisting>
  </sect2>
 
@@ -303,7 +304,7 @@ server3:5432:postgres:postgres:&lt;postgres user password&gt;
   <sect3 id="example-replication-mode-firewall">
    <title>Configure firewall</title>
    <para>
-     When connect to <productname>Pgpool-II</productname> and <productname>PostgreSQL</productname> servers, the target port must be accessible by enabling firewall management softwares. Following is an example for <systemitem>CentOS/RHEL7</systemitem>.
+     When connect to <productname>Pgpool-II</productname> and <productname>PostgreSQL</productname> servers, the target port must be accessible by enabling firewall management softwares. Following is an example for <systemitem>Rocky Linux 10</systemitem>.
    </para>
    <programlisting>
 [all servers]# firewall-cmd --permanent --zone=public --add-service=postgresql
@@ -343,7 +344,7 @@ server3:5432:postgres:postgres:&lt;postgres user password&gt;
   </para>
   <programlisting>
 [server1]# su - postgres
-[server1]$ /usr/pgsql-14/bin/initdb -E UTF8 --no-locale
+[server1]$ /usr/pgsql-18/bin/initdb -E UTF8 --no-locale
   </programlisting>
   <para>
    Then edit <filename>$PGDATA/postgresql.conf</filename> on server1.
@@ -370,7 +371,7 @@ host    replication     all             samenet                 scram-sha-256
    Run the following command to start PostgreSQL server.
   </para>
   <programlisting>
-[server1]$ /usr/pgsql-14/bin/pg_ctl start
+[server1]$ /usr/pgsql-18/bin/pg_ctl start
   </programlisting>
 
   <para>
@@ -513,19 +514,19 @@ health_check_max_retries = 3
 backend_hostname0 = 'server1'
 backend_port0 = 5432
 backend_weight0 = 1
-backend_data_directory0 = '/var/lib/pgsql/14/data'
+backend_data_directory0 = '/var/lib/pgsql/18/data'
 backend_flag0 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname1 = 'server2'
 backend_port1 = 5432
 backend_weight1 = 1
-backend_data_directory1 = '/var/lib/pgsql/14/data'
+backend_data_directory1 = '/var/lib/pgsql/18/data'
 backend_flag1 = 'ALLOW_TO_FAILOVER'
 
 backend_hostname2 = 'server3'
 backend_port2 = 5432
 backend_weight2 = 1
-backend_data_directory2 = '/var/lib/pgsql/14/data'
+backend_data_directory2 = '/var/lib/pgsql/18/data'
 backend_flag2 = 'ALLOW_TO_FAILOVER'
    </programlisting>
   </sect3>
@@ -554,28 +555,28 @@ recovery_2nd_stage_command = 'recovery_2nd_stage'
     Create the scripts used by online recovery command from sample scripts and copy these files to the database cluster directory.
    </para>
    <programlisting>
-[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_1st_stage.sample /var/lib/pgsql/14/data/recovery_1st_stage
-[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_2nd_stage.sample /var/lib/pgsql/14/data/recovery_2nd_stage
-[server1]# cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample /var/lib/pgsql/14/data/pgpool_remote_start
-[server1]# chown postgres:postgres /var/lib/pgsql/14/data/{recovery_1st_stage,recovery_2nd_stage,pgpool_remote_start}
+[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_1st_stage.sample /var/lib/pgsql/18/data/recovery_1st_stage
+[server1]# cp -p /etc/pgpool-II/sample_scripts/replication_mode_recovery_2nd_stage.sample /var/lib/pgsql/18/data/recovery_2nd_stage
+[server1]# cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample /var/lib/pgsql/18/data/pgpool_remote_start
+[server1]# chown postgres:postgres /var/lib/pgsql/18/data/{recovery_1st_stage,recovery_2nd_stage,pgpool_remote_start}
    </programlisting>
    <para>
     Basically, it should work if you change <emphasis>PGHOME</emphasis> according to PostgreSQL installation directory.
    </para>
    <programlisting>
-[server1]# vi /var/lib/pgsql/14/data/recovery_1st_stage
+[server1]# vi /var/lib/pgsql/18/data/recovery_1st_stage
 ...
-PGHOME=/usr/pgsql-14
+PGHOME=/usr/pgsql-18
 ...
 
-[server1]# vi /var/lib/pgsql/14/data/recovery_2nd_stage
+[server1]# vi /var/lib/pgsql/18/data/recovery_2nd_stage
 ...
-PGHOME=/usr/pgsql-14
+PGHOME=/usr/pgsql-18
 ...
 
-[server1]# vi /var/lib/pgsql/14/data/pgpool_remote_start
+[server1]# vi /var/lib/pgsql/18/data/pgpool_remote_start
 ...
-PGHOME=/usr/pgsql-14
+PGHOME=/usr/pgsql-18
 ...
    </programlisting>
 
@@ -784,15 +785,15 @@ Password for user pgpool:
     Next, let's verify the replication functionality using a benchmark tool pgbench.
    </para>
    <programlisting>
-[server1]# /usr/pgsql-14/bin/createdb test -U postgres -p 9999
-[server1]# /usr/pgsql-14/bin/pgbench -h server1 -U postgres -i -p 9999 test
+[server1]# /usr/pgsql-18/bin/createdb test -U postgres -p 9999
+[server1]# /usr/pgsql-18/bin/pgbench -h server1 -U postgres -i -p 9999 test
    </programlisting>
    <para>
     To check if the replication works correctly, directly connect to each PostgreSQL
     server to see if they return identical results.
    </para>
    <programlisting>
-[server1]# /usr/pgsql-14/bin/psql -h server1 -U postgres -p 5432 test
+[server1]# /usr/pgsql-18/bin/psql -h server1 -U postgres -p 5432 test
 test=# \d
               List of relations
  Schema |       Name       | Type  |  Owner
@@ -803,7 +804,7 @@ test=# \d
  public | pgbench_tellers  | table | postgres
 (4 rows)
 
-[server1]# /usr/pgsql-14/bin/psql -h server2 -U postgres -p 5432 test
+[server1]# /usr/pgsql-18/bin/psql -h server2 -U postgres -p 5432 test
 test=# \d
               List of relations
  Schema |       Name       | Type  |  Owner
@@ -814,7 +815,7 @@ test=# \d
  public | pgbench_tellers  | table | postgres
 (4 rows)
 
-[server1]# /usr/pgsql-14/bin/psql -h server3 -U postgres -p 5432 test
+[server1]# /usr/pgsql-18/bin/psql -h server3 -U postgres -p 5432 test
 test=# \d
               List of relations
  Schema |       Name       | Type  |  Owner
@@ -832,27 +833,27 @@ test=# \d
     Next, let's run pgbench for a while and check to results.
    </para>
    <programlisting>
-[server1]# /usr/pgsql-14/bin/pgbench -h server1 -U postgres -p 9999 -T 10 test
+[server1]# /usr/pgsql-18/bin/pgbench -h server1 -U postgres -p 9999 -T 10 test
    </programlisting>
    <para>
     All PostgreSQL servers return identical results.
    </para>
    <programlisting>
-[server1]# /usr/pgsql-14/bin/psql -h server1 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
+[server1]# /usr/pgsql-18/bin/psql -h server1 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
 Password for user postgres:
   sum
 --------
  -99710
 (1 row)
 
-[server1]# /usr/pgsql-14/bin/psql -h server2 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
+[server1]# /usr/pgsql-18/bin/psql -h server2 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
 Password for user postgres:
   sum
 --------
  -99710
 (1 row)
 
-[server1]# /usr/pgsql-14/bin/psql -h server3 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
+[server1]# /usr/pgsql-18/bin/psql -h server3 -U postgres -p 5432 test -c "SELECT sum(abalance) FROM pgbench_accounts"
 Password for user postgres:
   sum
 --------
@@ -868,7 +869,7 @@ Password for user postgres:
     and verify the switchover of the main node.
    </para>
    <programlisting>
-[server1]# su - postgres -c "/usr/pgsql-14/bin/pg_ctl -m i stop"
+[server1]# su - postgres -c "/usr/pgsql-18/bin/pg_ctl -m i stop"
    </programlisting>
    <para>
     After stopping <productname>PostgreSQL</productname> on <literal>server1</literal>,
index 65002d0890fbe93c890a2598f45dc8c1dffa2cc6..1a88ea4d100d5243635f68dcee6375c6d4fed5da 100644 (file)
@@ -7,7 +7,7 @@
   If you are going to install from the source code, please check <xref linkend="install-source">.
  </para>
  <para>
-  <productname>Pgpool-II</productname> community provides RPM packages for RHEL9/8/7
+  <productname>Pgpool-II</productname> community provides RPM packages for RHEL10/9/8
   and the operating system which is compatible with RHEL.
   You can download package files from
   <ulink url="https://www.pgpool.net/yum/">official Pgpool-II repository</ulink>.
     </row>
     <row>
      <entry>pgpool-II-pgXX-debugsource</entry>
-     <entry>Only for RHEL8/9. Debug symbols for debugging</entry>
+     <entry>Only for RHEL10/9/8. Debug symbols for debugging</entry>
     </row>
     <row>
      <entry>pgpool-II-pgXX-extensions-debuginfo</entry>
-     <entry>Only for RHEL8/9. Debug symbols for debugging</entry>
+     <entry>Only for RHEL10/9/8. Debug symbols for debugging</entry>
     </row>
     <row>
      <entry>pgpool-II-pgXX-devel</entry>
@@ -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 17, you need to install <filename>pgpool-II-pg17</filename>)
+  (For example, if you are using PostgreSQL 18, you need to install <filename>pgpool-II-pg18</filename>)
  </para>
 
  <sect2 id="before-installing">
@@ -86,6 +86,10 @@ vi /etc/yum.repos.d/pgdg-redhat-all.repo
 ...
 exclude=pgpool*
 
+[pgdg18]
+...
+exclude=pgpool*
+
 [pgdg17]
 ...
 exclude=pgpool*
@@ -104,14 +108,6 @@ exclude=pgpool*
 
 [pgdg13]
 ...
-exclude=pgpool*
-
-[pgdg12]
-...
-exclude=pgpool*
-
-[pgdg11]
-...
 exclude=pgpool*
   </programlisting>
  </sect2>
@@ -124,25 +120,25 @@ exclude=pgpool*
   </para>
 
   <para>
-   The following commands assume that you are using Pgpool-II 4.6.x for PostgreSQL 17 on RHEL9.
+   The following commands assume that you are using Pgpool-II 4.6.x for PostgreSQL 18 on RHEL10.
    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/8, see <ulink url="https://www.pgpool.net/mediawiki/index.php/Yum_Repository">here</ulink>.
+   For REHL9/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.6/redhat/rhel-9-x86_64/pgpool-II-release-4.6-1.noarch.rpm
+dnf install https://www.pgpool.net/yum/rpms/4.6/redhat/rhel-10-x86_64/pgpool-II-release-4.6-1.noarch.rpm
   </programlisting>
   <para>
    Then, install <productname>Pgpool-II</productname>.
   </para>
   <programlisting>
-dnf install pgpool-II-pg17
+dnf install pgpool-II-pg18
   </programlisting>
   <para>
-   To use online recovery feature, install <filename>pgpool-II-pg17-extensions</filename>
+   To use online recovery feature, install <filename>pgpool-II-pg18-extensions</filename>
    on <emphasis>all PostgreSQL servers</emphasis>.
    Because <filename>pgpool-II-pgXX-extensions</filename> depends on
    <filename>pgpool-II-pgXX</filename> package,
@@ -160,14 +156,14 @@ dnf install pgpool-II-pg17
    </para>
   </note>
   <programlisting>
-dnf install pgpool-II-pg17-extensions pgpool-II-pg17
+dnf install pgpool-II-pg18-extensions pgpool-II-pg18
   </programlisting>
 
   <para>
    Optionally you can install debuginfo and devel packages for developers if necessary.
   </para>
   <programlisting>
-dnf install pgpool-II-pg17-debuginfo pgpool-II-pg17-devel
+dnf install pgpool-II-pg18-debuginfo pgpool-II-pg18-devel
   </programlisting>
  </sect2>
 
@@ -184,7 +180,7 @@ dnf install pgpool-II-pg17-debuginfo pgpool-II-pg17-devel
  <sect2 id="start-rpm">
   <title>Starting/stopping Pgpool-II</title>
   <para>
-   On RHEL9/8/7, do this once, if set the automatic startup of <productname>Pgpool-II</productname>.
+   On RHEL10/9/8, do this once, if set the automatic startup of <productname>Pgpool-II</productname>.
    <programlisting>
 systemctl enable pgpool.service
    </programlisting>
index e7dd81a398284ea41f3185f4f3ea71fccdc1f9d9..8c9c61043697c30263ee5e7222dde2c4fd00dc7d 100644 (file)
@@ -33,7 +33,7 @@
   </para>
 
   <para>
-   Here is an example for CentOS/RHEL7 when access
+   Here is an example for Rocky Linux/RHEL10 when access
    to <productname>PostgreSQL</productname> is required.
 
    <programlisting>