Doc: Fix example script link at master.
authorTaiki Koshino <koshino@sraoss.co.jp>
Wed, 16 Jul 2025 05:27:47 +0000 (14:27 +0900)
committerTaiki Koshino <koshino@sraoss.co.jp>
Wed, 16 Jul 2025 05:27:47 +0000 (14:27 +0900)
Modified the sample script in the section "8.2. Pgpool-II + Watchdog Setup Example"

doc.ja/src/sgml/example-cluster.sgml
doc/src/sgml/example-cluster.sgml

index 6ec3ad2ce00e28adb5bc515460ca46905f5d200b..a9fa531356d67f8ddaf12535ba96b95b7185ee3b 100644 (file)
     <tbody>
      <row>
       <entry morerows='1'>่‡ชๅ‹•ใƒ•ใ‚งใ‚คใƒซใ‚ชใƒผใƒ</entry>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/failover.sh.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/failover.sh.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/failover.sh.sample">/etc/pgpool-II/sample_scripts/failover.sh.sample</ulink></entry>
       <entry>ใƒ•ใ‚งใ‚คใƒซใ‚ชใƒผใƒใ‚’ๅฎŸ่กŒใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ€‚<xref linkend="GUC-FAILOVER-COMMAND">ใงไฝฟ็”จใ—ใพใ™ใ€‚</entry>
      </row>
      <row>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/follow_primary.sh.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/follow_primary.sh.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/follow_primary.sh.sample">/etc/pgpool-II/sample_scripts/follow_primary.sh.sample</ulink></entry>
       <entry>ไธŠ่จ˜ใƒ•ใ‚งใ‚คใƒซใ‚ชใƒผใƒใ‚นใ‚ฏใƒชใƒ—ใƒˆใŒๅฎŸ่กŒใ•ใ‚ŒใŸๅพŒใซใ€ๆ–ฐใ—ใ„ใƒ—ใƒฉใ‚คใƒžใƒชใ‚ตใƒผใƒใจใ‚นใ‚ฟใƒณใƒใ‚คใ‚ตใƒผใƒใ‚’ๅŒๆœŸใ•ใ›ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ€‚<xref linkend="GUC-FOLLOW-PRIMARY-COMMAND">ใงไฝฟ็”จใ—ใพใ™ใ€‚ PostgreSQLใ‚ตใƒผใƒใŒ2ๅฐใฎๅ ดๅˆใฏใ“ใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฎ่จญๅฎšใฏไธ่ฆใงใ™ใ€‚</entry>
      </row>
      <row>
       <entry morerows='1'>ใ‚ชใƒณใƒฉใ‚คใƒณใƒชใ‚ซใƒใƒช</entry>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/recovery_1st_stage.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/recovery_1st_stage.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/recovery_1st_stage.sample">/etc/pgpool-II/sample_scripts/recovery_1st_stage.sample</ulink></entry>
       <entry>ใ‚นใ‚ฟใƒณใƒใ‚คใ‚ตใƒผใƒใ‚’ใƒชใ‚ซใƒใƒชใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ€‚<xref linkend="GUC-RECOVERY-1ST-STAGE-COMMAND">ใงไฝฟ็”จใ—ใพใ™ใ€‚</entry>
      </row>
      <row>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/pgpool_remote_start.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/pgpool_remote_start.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/pgpool_remote_start.sample">/etc/pgpool-II/sample_scripts/pgpool_remote_start.sample</ulink></entry>
       <entry>ไธŠ่จ˜<xref linkend="GUC-RECOVERY-1ST-STAGE-COMMAND">ใŒๅฎŸ่กŒใ•ใ‚ŒใŸๅพŒใซใ€ใ‚นใ‚ฟใƒณใƒใ‚คใƒŽใƒผใƒ‰ใ‚’่ตทๅ‹•ใ•ใ›ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ€‚</entry>
      </row>
      <row>
       <entry morerows='1'>Watchdog</entry>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/escalation.sh.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/escalation.sh.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/escalation.sh.sample">/etc/pgpool-II/sample_scripts/escalation.sh.sample</ulink></entry>
       <entry>
        ไปปๆ„ใฎ่จญๅฎšใ€‚Pgpool-IIใฎใƒชใƒผใƒ€ใƒผ/ใ‚นใ‚ฟใƒณใƒใ‚คๅˆ‡ใ‚Šๆ›ฟใˆๆ™‚ใซใ€ๆ—งWatchdogใƒชใƒผใƒ€ใƒผใƒ—ใƒญใ‚ปใ‚นใฎ็•ฐๅธธ็ต‚ไบ†ใซใ‚ˆใฃใฆๆ—งWatchdogใƒชใƒผใƒ€ใƒผใงไปฎๆƒณIPใŒ่ตทๅ‹•ใ—ใŸใพใพใ€ๆ–ฐใ—ใ„ใƒชใƒผใƒ€ใƒผใƒŽใƒผใƒ‰ใงไปฎๆƒณIPใŒ่ตทๅ‹•ใ•ใ‚Œใ‚‹ใ“ใจใ‚’้˜ฒใใŸใ‚ใซใ€ๆ–ฐใ—ใ„ใƒชใƒผใƒ€ใƒผไปฅๅค–ใง่ตทๅ‹•ใ—ใฆใ„ใ‚‹ไปฎๆƒณIPใ‚’ๅœๆญขใ™ใ‚‹ใ‚นใ‚ฏใƒชใƒ—ใƒˆใ€‚<xref linkend="guc-wd-escalation-command">ใงไฝฟ็”จใ—ใพใ™ใ€‚
       </entry>
index cd12b0cda64c6727bce764012f54b379e65d1a07..91b86491e336fa4e315b8ebd6c36dd2a03332721 100644 (file)
     <tbody>
      <row>
       <entry morerows='1'>Failover</entry>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/failover.sh.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/failover.sh.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/failover.sh.sample">/etc/pgpool-II/sample_scripts/failover.sh.sample</ulink></entry>
       <entry>Run by <xref linkend="GUC-FAILOVER-COMMAND"> to perform failover</entry>
      </row>
      <row>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/follow_primary.sh.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/follow_primary.sh.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/follow_primary.sh.sample">/etc/pgpool-II/sample_scripts/follow_primary.sh.sample</ulink></entry>
       <entry>Run by <xref linkend="GUC-FOLLOW-PRIMARY-COMMAND"> to synchronize the Standby with the new Primary after failover.</entry>
      </row>
      <row>
       <entry morerows='1'>Online recovery</entry>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/recovery_1st_stage.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/recovery_1st_stage.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/recovery_1st_stage.sample">/etc/pgpool-II/sample_scripts/recovery_1st_stage.sample</ulink></entry>
       <entry>Run by <xref linkend="GUC-RECOVERY-1ST-STAGE-COMMAND"> to recovery a Standby node</entry>
      </row>
      <row>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/pgpool_remote_start.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/pgpool_remote_start.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/pgpool_remote_start.sample">/etc/pgpool-II/sample_scripts/pgpool_remote_start.sample</ulink></entry>
       <entry>Run after <xref linkend="GUC-RECOVERY-1ST-STAGE-COMMAND"> to start the Standby node</entry>
      </row>
      <row>
       <entry morerows='1'>Watchdog</entry>
-      <entry><ulink url="https://git.postgresql.org/gitweb/?p=pgpool2.git;a=blob_plain;f=src/sample/scripts/escalation.sh.sample;hb=refs/heads/V4_6_STABLE">/etc/pgpool-II/sample_scripts/escalation.sh.sample</ulink></entry>
+      <entry><ulink url="https://raw.githubusercontent.com/pgpool/pgpool2/refs/heads/master/src/sample/scripts/escalation.sh.sample">/etc/pgpool-II/sample_scripts/escalation.sh.sample</ulink></entry>
       <entry>Optional Configuration. Run by <xref linkend="guc-wd-escalation-command"> to switch the Leader/Standby Pgpool-II safely</entry>
      </row>
     </tbody>