Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 28 additions & 42 deletions doc/src/sgml/ref/pg_dump.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -1127,12 +1127,9 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>&#45;-exclude-extension</option> can be given more than once to exclude extensions
matching any of several patterns.
-->
《マッチ度[75.085324]》<replaceable class="parameter">pattern</replaceable>にマッチするスキーマをダンプしません。
このパターンは<option>-n</option>と同様の規則に従って解釈されます。
<option>-N</option>を複数指定して、複数のパターンのいずれかにマッチするスキーマを除外することができます。
《機械翻訳》<replaceable class="parameter">pattern</replaceable>にマッチする拡張子をダンプしません。
<replaceable class="parameter">pattern</replaceable>にマッチする拡張をダンプしません。
このパターンは<option>-e</option>と同じ規則に従って解釈されます。
<option>--exclude-extension</option>は複数回指定でき、いくつかのパターンにマッチする拡張子を除外できます
<option>--exclude-extension</option>は複数回指定でき、いくつかのパターンにマッチする拡張を除外できます
</para>

<para>
Expand All @@ -1143,10 +1140,8 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
appears without <option>-e</option>, then extensions matching <option>&#45;-exclude-extension</option> are
excluded from what is otherwise a normal dump.
-->
《マッチ度[68.571429]》<option>-n</option>と<option>-N</option>の両方が指定された場合、少なくとも1つの<option>-n</option>にマッチし<option>-N</option>オプションにマッチしないスキーマだけがダンプされます。
<option>-n</option>なしで<option>-N</option>が指定された場合、<option>-N</option>にマッチするスキーマが通常のダンプから除外されます。
《機械翻訳》<option>-e</option>と<option>--exclude-extension</option>の両方が与えられた場合、動作は少なくとも1つの<option>-e</option>スイッチに一致する拡張だけをダンプするが、<option>--exclude-extension</option>スイッチは一切ダンプしないというものである。
<option>--exclude-extension</option>が<option>--exclude-extension</option>なしで現れた場合、<option>--exclude-extension</option>にマッチする拡張は通常のダンプから除外される。
<option>-e</option>と<option>--exclude-extension</option>の両方が指定された場合、少なくとも1つの<option>-e</option>にマッチし<option>--exclude-extension</option>オプションにマッチしない拡張だけがダンプされます。
<option>--exclude-extension</option>が<option>-e</option>なしで現れた場合、<option>--exclude-extension</option>にマッチする拡張は通常のダンプから除外されます。
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -1249,21 +1244,18 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
objects, and can also be specified more than once for multiple filter
files.
-->
《機械翻訳》includeまたはダンプから除外するオブジェクトのパターンを読み込むファイル名を指定します
ダンプに含めるまたは除外するオブジェクトのパターンを読み込むファイル名を指定します
これらのパターンは、対応するオプションと同じ規則に従って解釈されます。
テーブルの場合は <option>-t</option>/<option>--table</option>、<option>--table-and-children</option>、<option>-T</option>/<option>--exclude-table</option>、<option>--exclude-table-and-children</option>。
スキーマの場合は<option>-n</option>/<option>--schema</option>、<option>-N</option>/<option>--exclude-schema</option>。
外部サーバのデータの場合は<option>--include-foreign-data</option>、テーブルデータの場合は<option>--exclude-table-data</option>と<option>--exclude-table-data-and-children</option>、拡張の場合は<option>-e</option>/<option>--extension</option>と<option>--exclude-extension</option>です。
テーブルの場合は<option>-t</option>/<option>--table</option>、<option>--table-and-children</option>、<option>-T</option>/<option>--exclude-table</option>、<option>--exclude-table-and-children</option>、スキーマの場合は<option>-n</option>/<option>--schema</option>、<option>-N</option>/<option>--exclude-schema</option>、外部サーバのデータの場合は<option>--include-foreign-data</option>、テーブルデータの場合は<option>--exclude-table-data</option>と<option>--exclude-table-data-and-children</option>、拡張の場合は<option>-e</option>/<option>--extension</option>と<option>--exclude-extension</option>です。
<literal>STDIN</literal>から読み取るには、ファイル名として<filename>-</filename>を使用します。
<option>--フィルタ</option>オプションは、オブジェクトを含めるまたは除外するために、上記の論理積とともにオプションで指定できます。
また、マルチプルフィルタファイルに対して複数回指定することもできます。
<option>--filter</option>オプションは、オブジェクトを含めるまたは除外するために、上記のオプションとともに指定でき、更に複数のファイルをフィルタするために複数回指定することもできます。
</para>

<para>
<!--
The file lists one object pattern per row, with the following format:
-->
《機械翻訳》ファイルには、オブジェクト パターンが 1 行に 1 つずつリストされ、次の形式になります。
ファイルには、オブジェクトパターンが1行に1つずつリストされ、次の形式になります。
<synopsis>
{ include | exclude } { extension | foreign_data | table | table_and_children | table_data | table_data_and_children | schema } <replaceable class="parameter">PATTERN</replaceable>
</synopsis>
Expand All @@ -1275,8 +1267,8 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
are to be included or excluded. The second keyword specifies the type
of object to be filtered using the pattern:
-->
《機械翻訳》最初のキーワードは、パターンに一致するオブジェクトを含めるか除外するかを指定します。
2 番目のキーワードは、パターンを使用してフィルタリングするオブジェクトのタイプを指定します。
最初のキーワードは、パターンに一致するオブジェクトを含めるか除外するかを指定します。
2番目のキーワードは、パターンを使用してフィルタリングするオブジェクトのタイプを指定します。
<itemizedlist>
<listitem>
<para>
Expand All @@ -1285,7 +1277,7 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>-e</option>/<option>&#45;-extension</option> or
<option>&#45;-exclude-extension</option> option.
-->
《機械翻訳》<literal>extension</literal>:extensions
<literal>extension</literal>:拡張
これは<option>-e</option>/<option>--extension</option>または<option>--exclude-extension</option>オプションと同様に機能します。
</para>
</listitem>
Expand All @@ -1296,8 +1288,8 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
the <option>&#45;-include-foreign-data</option> option. This keyword can
only be used with the <literal>include</literal> keyword.
-->
《機械翻訳》<literal>foreign_データ</literal>:外部サーバ上のデータ。
これは<option>--include-foreign-データ</option>オプションと同様に機能します。
<literal>foreign_data</literal>:外部サーバ上のデータ。
これは<option>--include-foreign-data</option>オプションと同様に機能します。
このキーワードは<literal>include</literal>キーワードと一緒にのみ使用できます。
</para>
</listitem>
Expand All @@ -1308,7 +1300,7 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>-t</option>/<option>&#45;-table</option> or
<option>-T</option>/<option>&#45;-exclude-table</option> option.
-->
《機械翻訳》<literal>table</literal>:テーブル。
<literal>table</literal>:テーブル。
これは<option>-t</option>/<option>--table</option>または<option>-T</option>/<option>--exclude-table</option>オプションと同様に機能します。
</para>
</listitem>
Expand All @@ -1320,7 +1312,7 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>&#45;-table-and-children</option> or
<option>&#45;-exclude-table-and-children</option> option.
-->
《機械翻訳》<literal>table_and_children</literal>:任意のパーティションまたは継承の子テーブルを含むテーブル。
<literal>table_and_children</literal>:任意のパーティションまたは継承の子テーブルを含むテーブル。
これは<option>--table-and-children</option>または<option>--exclude-table-and-children</option>オプションと同様に機能します。
</para>
</listitem>
Expand All @@ -1332,7 +1324,7 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>&#45;-exclude-table-data</option> option. This keyword can only
be used with the <literal>exclude</literal> keyword.
-->
《機械翻訳》<literal>table_data</literal>:任意のテーブルのテーブルデータマッチング<replaceable>パターン</replaceable>。
<literal>table_data</literal>:<replaceable>pattern</replaceable>にマッチする任意のテーブルのテーブルデータ
これは<option>--exclude-table-data</option>オプションと同様に機能します。
このキーワードは<literal>exclude</literal>キーワードと一緒にのみ使用できます。
</para>
Expand All @@ -1346,7 +1338,7 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>&#45;-exclude-table-data-and-children</option> option. This
keyword can only be used with the <literal>exclude</literal> keyword.
-->
《機械翻訳》<literal>table_data_and_children</literal>:任意のテーブルのテーブルデータマッチング<replaceable>パターン</replaceable>、およびテーブルの任意のパーティションまたは継承の子
<literal>table_data_and_children</literal>:<replaceable>pattern</replaceable>にマッチする任意のテーブルのテーブルデータおよびテーブルのすべてのパーティションまたは継承する子テーブルのデータ
これは<option>--exclude-table-data-and-children</option>オプションと同様に機能します。
このキーワードは<literal>exclude</literal>キーワードと一緒にのみ使用できます。
</para>
Expand All @@ -1358,7 +1350,7 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
<option>-n</option>/<option>&#45;-schema</option> or
<option>-N</option>/<option>&#45;-exclude-schema</option> option.
-->
《機械翻訳》<literal>schema</literal>:schemas
<literal>schema</literal>:スキーマ
これは<option>-n</option>/<option>--schema</option>または<option>-N</option>/<option>--exclude-schema</option>オプションと同様に機能します。
</para>
</listitem>
Expand All @@ -1372,18 +1364,18 @@ tarアーカイブ形式では現在圧縮を全くサポートしていませ
Blank lines are also ignored. See <xref linkend="app-psql-patterns"/>
for how to perform quoting in patterns.
-->
《機械翻訳》<literal>#</literal>で始まる行はコメントと見なされ、無視されます。
<literal>#</literal>で始まる行はコメントと見なされ、無視されます。
コメントはオブジェクトパターン行の後にも置くことができます。
空行も無視されます。
パターン内のクォートの実行方法については<xref linkend="app-psql-patterns"/>を参照してください。
パターン内の引用符の実行方法については<xref linkend="app-psql-patterns"/>を参照してください。
</para>

<para>
<!--
Example files are listed below in the <xref linkend="pg-dump-examples"/>
section.
-->
《機械翻訳》サンプルファイルは<xref linkend="pg-dump-examples"/>の節に示します。
例は<xref linkend="pg-dump-examples"/>の節に示します。
</para>

</listitem>
Expand Down Expand Up @@ -1875,11 +1867,9 @@ pg_dumpを始めた時に読み書きを行う実行中のトランザクショ
matches, <application>pg_dump</application> will generate an error
even without <option>&#45;-strict-names</option>.
-->
《マッチ度[77.539062]》各拡張(<option>-e</option>/<option>--extension</option>)、各スキーマ(<option>-n</option>/<option>--schema</option>)および各テーブル(<option>-t</option>/<option>--table</option>)が、パターンがダンプされるデータベース内の少なくとも1つの拡張、スキーマおよびテーブルにマッチすることを必要とします。
拡張、スキーマおよびテーブルのパターンのどれもがマッチするものを見つけられなかった場合は、<option>--strict-names</option>がなくても<application>pg_dump</application>はエラーを発生させることに注意して下さい。
《機械翻訳》各拡張(<option>-e</option>/<option>--extension</option>)、スキーマ(<option>-n</option>/<option>--schema</option>)、テーブル(<option>-t</option>/<option>--table</option>)のパターンマッチが、ダンプされるデータベース内の少なくとも1つの拡張/スキーマ/テーブルであることを要求します。
各拡張(<option>-e</option>/<option>--extension</option>)、各スキーマ(<option>-n</option>/<option>--schema</option>)および各テーブル(<option>-t</option>/<option>--table</option>)が、パターンがダンプされるデータベース内の少なくとも1つの拡張、スキーマおよびテーブルにマッチすることを必要とします。
これは<option>--filter</option>で使用されるフィルタにも当てはまります。
拡張子/スキーマ/テーブルパターンのどれも一致しない場合、<application>pg_dump</application>は<option>--strict-names</option>を指定しなくてもエラーを生成します
拡張、スキーマおよびテーブルのパターンのどれもがマッチするものを見つけられなかった場合は、<option>--strict-names</option>がなくても<application>pg_dump</application>はエラーを発生させることに注意して下さい
</para>
<para>
<!--
Expand All @@ -1890,9 +1880,7 @@ pg_dumpを始めた時に読み書きを行う実行中のトランザクショ
or <option>&#45;-exclude-table-data</option>. An exclude pattern failing
to match any objects is not considered an error.
-->
《マッチ度[75.767918]》このオプションは<option>-N</option>/<option>--exclude-schema</option>、<option>-T</option>/<option>--exclude-table</option>、<option>--exclude-table-data</option>には影響を与えません。
除外のパターンがマッチするオブジェクトを見つけられないことは、エラーとはみなされません。
《機械翻訳》このオプションは<option>--exclude-extension</option>、<option>-N</option>/<option>--exclude-schema</option>、<option>-T</option>/<option>--exclude-table</option>、<option>-T</option>/<option>--exclude-table-data</option>には効果がありません。
このオプションは<option>--exclude-extension</option>、<option>-N</option>/<option>--exclude-schema</option>、<option>-T</option>/<option>--exclude-table</option>、<option>-T</option>/<option>--exclude-table-data</option>には影響を与えません。
オブジェクトに一致しない除外パターンはエラーとはみなされません。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

機械翻訳の箇所ですが、ここは以前の訳に近づけて

「除外パターンがマッチするオブジェクトに見つけられなくてもエラーとはみなされません。」
とすると理解しやすく思いましたがどうでしょうか。

</para>
</listitem>
Expand All @@ -1907,7 +1895,7 @@ pg_dumpを始めた時に読み書きを行う実行中のトランザクショ
<command>pg_dump &#45;-format=directory</command> will recursively open and
synchronize all files in the archive directory.
-->
《機械翻訳》デフォルトの<literal>fsync</literal>に設定すると、<command>pg_dump --format=directory</command>はアーカイブディレクトリ内の全てのファイルを再帰的に開いて同期します。
デフォルトの<literal>fsync</literal>に設定すると、<command>pg_dump --format=directory</command>はアーカイブディレクトリ内の全てのファイルを再帰的に開いて同期します。
</para>
<para>
<!--
Expand All @@ -1917,15 +1905,15 @@ pg_dumpを始めた時に読み書きを行う実行中のトランザクショ
for information about the caveats to be aware of when using
<literal>syncfs</literal>.
-->
《機械翻訳》Linuxでは、<literal>syncfs</literal>を代わりに使用して、アーカイブディレクトリを含むファイルシステム全体を同期するようにオペレーティングシステムに要求できます。
Linuxでは、<literal>syncfs</literal>を代わりに使用して、アーカイブディレクトリを含むファイルシステム全体を同期するようにオペレーティングシステムに要求できます。
<literal>syncfs</literal>を使用する際に注意すべき点については、<xref linkend="guc-recovery-init-sync-method"/>を参照してください。
</para>
<para>
<!--
This option has no effect when <option>&#45;-no-sync</option> is used or
<option>&#45;-format</option> is not set to <literal>directory</literal>.
-->
《機械翻訳》このオプションは、<option>--no-sync</option>が使用された場合、または<option>--format</option>が<literal>directory</literal>に設定されていない場合は効果がありません。
このオプションは、<option>--no-sync</option>が使用された場合、または<option>--format</option>が<literal>directory</literal>に設定されていない場合は効果がありません。
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -2512,9 +2500,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
for table <literal>mytable2</literal>, specify a filter file
<filename>filter.txt</filename> like:
-->
《マッチ度[53.142857]》<literal>detroit</literal>スキーマ内の名前が<literal>emp</literal>で始まるすべてのテーブルをダンプします。
ただし、<literal>employee_log</literal>という名前のテーブルは除きます。
《機械翻訳》<literal>mytable2</literal>を除く、名前が<literal>mytable</literal>で始まる全てのテーブルをダンプするには、以下のようなフィルタファイル<filename>filter.txt</filename>を指定します。
<literal>mytable2</literal>を除く、名前が<literal>mytable</literal>で始まる全てのテーブルをダンプするには、以下のようなフィルタファイル<filename>filter.txt</filename>を指定します。
<programlisting>
include table mytable*
exclude table mytable2
Expand Down
Loading