Skip to content

Commit

Permalink
Add documents of --pgconf-path parameter (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecaat authored and huangfumingyue committed Sep 2, 2022
1 parent 6684b4e commit 859f99e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
13 changes: 11 additions & 2 deletions docs/index-ja.html
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ <h2>バックアップ・オプション</h2>

<h2>リストア・オプション</h2>

<p>&ndash;recovery で始まる変数は recovery.conf のパラメータに対応します。詳細は<a href="http://www.postgresql.jp/document/current/html/recovery-config.html">リカバリの設定</a>を参照してください。</p>
<p>&ndash;&ndash;recovery で始まる変数は、PostgreSQLの<a href="http://www.postgresql.jp/document/current/html/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY-TARGET">リカバリターゲット</a>のパラメータに対応します。

<ul>
<li><strong><code>--recovery-target-timeline TIMELINE</code></strong>
Expand Down Expand Up @@ -706,7 +706,7 @@ <h2>リストア・オプション</h2>
</ul>


<p>以下は、リストア時の挙動を指定するパラメータです</p>
<p>以下は、リストア時の挙動に関連するパラメータです</p>

<ul>
<li><strong><code>--hard-copy</code></strong>
Expand All @@ -717,6 +717,15 @@ <h2>リストア・オプション</h2>
</li>
</ul>

<ul>
<li><strong><code>-G PATH</code> / <code>--pgconf-path=PATH</code></strong>

<ul>
<li>リストアをする際、リカバリの設定も実施します。<a href="http://www.postgresql.jp/document/current/html/runtime-config-file-locations.html"><code>data_directory</code></a>パラメータなどを利用して、データベースクラスタの保存先と異なる場所にpostgresql.confを保存している場合は、設定ファイルの保存先を絶対パスで指定する必要があります。1.3.14よりも後のバージョンで利用可能です。</p></li>
</ul>
</li>
</ul>


<h2>カタログ・オプション</h2>

Expand Down
11 changes: 10 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ <h2>Backup options</h2>

<h2>Restore options</h2>

<p>The parameters which are started with &ndash;recovery are same as parameters in recovery.conf. See also &ldquo;<a href="http://www.postgresql.org/docs/current/static/recovery-config.html">Recovery Configuration</a>&rdquo; for details.</p>
<p>The parameters which are started with &ndash;&ndash;recovery are same as <a href=" https://www.postgresql.org/docs/current/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY-TARGET">Recovery Target</a> parameters.</p>

<ul>
<li><strong><code>--recovery-target-timeline TIMELINE</code></strong>
Expand Down Expand Up @@ -704,6 +704,15 @@ <h2>Restore options</h2>
</li>
</ul>

<ul>
<li><strong><code>-G PATH</code> / <code>--pgconf-path=PATH</code></strong>

<ul>
<li>The recovery-related parameters are configured when restoring. If you manage the postgresql.conf in different location of database cluster using <a href="http://www.postgresql.org/docs/current/runtime-config-file-locations.html"><code>data_directory</code></a> and so on, specify the absolute path. This option is provided version higher than 1.3.14.</p></li>
</ul>
</li>
</ul>


<h2>Catalog options</h2>

Expand Down

0 comments on commit 859f99e

Please sign in to comment.