diff options
| author | Bo Peng | 2025-06-05 03:32:08 +0000 |
|---|---|---|
| committer | Bo Peng | 2025-06-05 03:36:26 +0000 |
| commit | c15a1075a04d2c6089f2d4278d79e22b84500a87 (patch) | |
| tree | a3040cea834de36c5c47388d336c5de8d2f618a6 | |
| parent | 08281c4a85c1eabaf2c72bdd32d939297ee4ed82 (diff) | |
Doc: fix command in "8.2. Pgpool-II + Watchdog Setup Example" to escape $PGDATA.
| -rw-r--r-- | doc.ja/src/sgml/example-cluster.sgml | 4 | ||||
| -rw-r--r-- | doc/src/sgml/example-cluster.sgml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc.ja/src/sgml/example-cluster.sgml b/doc.ja/src/sgml/example-cluster.sgml index f22fc4ac7..809f1f050 100644 --- a/doc.ja/src/sgml/example-cluster.sgml +++ b/doc.ja/src/sgml/example-cluster.sgml @@ -833,8 +833,8 @@ recovery_1st_stage_command = 'recovery_1st_stage' これらのファイルをプライマリサーバ(<literal>server1</literal>)のデータベースクラスタ配下に配置します。 </para> <programlisting> -[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/recovery_1st_stage.sample $PGDATA/recovery_1st_stage" -[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample $PGDATA/pgpool_remote_start" +[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/recovery_1st_stage.sample \$PGDATA/recovery_1st_stage" +[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample \$PGDATA/pgpool_remote_start" </programlisting> <para> 基本的には<emphasis>PGHOME</emphasis>を環境に合わせて変更すれば、動作します。 diff --git a/doc/src/sgml/example-cluster.sgml b/doc/src/sgml/example-cluster.sgml index 99e579a07..d5a4150ea 100644 --- a/doc/src/sgml/example-cluster.sgml +++ b/doc/src/sgml/example-cluster.sgml @@ -890,8 +890,8 @@ recovery_1st_stage_command = 'recovery_1st_stage' are installed in <filename>/etc/pgpool-II/</filename>. Copy these files to the data directory of the primary server (server1). </para> <programlisting> -[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/recovery_1st_stage.sample $PGDATA/recovery_1st_stage" -[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample $PGDATA/pgpool_remote_start" +[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/recovery_1st_stage.sample \$PGDATA/recovery_1st_stage" +[root@server1 ~]# su - postgres -c "cp -p /etc/pgpool-II/sample_scripts/pgpool_remote_start.sample \$PGDATA/pgpool_remote_start" </programlisting> <para> Basically, it should work if you change <emphasis>PGHOME</emphasis> according to PostgreSQL installation directory. |
