Skip to content

Commit

Permalink
respond Saito-san's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
koizumistr committed May 2, 2024
1 parent 0293608 commit 4b6a5f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/src/sgml/logical-replication.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ INSERT 0 3
<xref linkend="logical-replication-row-filter"/>).
-->
テーブルのパブリケーションを作成します。
パブリケーション<literal>pub2</literal>と<literal>pub3a</literal>では、一部の<link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>操作が許可されません。
パブリケーション<literal>pub2</literal>と<literal>pub3a</literal>では、一部の<link linkend="sql-createpublication-with-publish"><literal>パブリッシュ</literal></link>操作が許可されません。
パブリケーション<literal>pub3b</literal>には行フィルタがあります(<xref linkend="logical-replication-row-filter"/>を参照)。
<programlisting>
test_pub=# CREATE PUBLICATION pub1 FOR TABLE t1;
Expand Down Expand Up @@ -1049,7 +1049,7 @@ ALTER SUBSCRIPTION
publishes only <command>INSERT</command> operations, the row filter
<literal>WHERE</literal> clause can use any column.
-->
パブリケーションが<command>UPDATE</command>または<command>DELETE</command>操作をパブリッシュする場合、行フィルタ<literal>WHERE</literal>句には、レプリカIDの対象となる列のみを含める必要があります(<xref linkend="sql-altertable-replica-identity"/>を参照)。
パブリケーションが<command>UPDATE</command>または<command>DELETE</command>操作をパブリッシュする場合、行フィルタ<literal>WHERE</literal>句には、レプリカアイデンティティの対象となる列のみを含める必要があります(<xref linkend="sql-altertable-replica-identity"/>を参照)。
パブリケーションが<command>INSERT</command>操作のみをパブリッシュする場合、行フィルタ<literal>WHERE</literal>句は任意の列を使用できます。
</para>

Expand Down Expand Up @@ -1214,7 +1214,7 @@ ALTER SUBSCRIPTION
<xref linkend="logical-replication-snapshot"/>, and see
<xref linkend="logical-replication-subscription-examples"/> for examples.
-->
初期データ同期では、既存のテーブルデータをコピーする際に<link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>パラメータが考慮されないため、DMLを使用してレプリケーションされない行がコピーされる場合があります。
初期データ同期では、既存のテーブルデータをコピーする際に<link linkend="sql-createpublication-with-publish"><literal>パブリッシュ</literal></link>パラメータが考慮されないため、DMLを使用してレプリケーションされない行がコピーされる場合があります。
<xref linkend="logical-replication-snapshot"/>および<xref linkend="logical-replication-subscription-examples"/>の例を参照してください。
</para>
</warning>
Expand Down Expand Up @@ -1248,7 +1248,7 @@ ALTER SUBSCRIPTION
<emphasis>any</emphasis> of the expressions will be replicated. This means all
the other row filters for the same table become redundant if:
-->
サブスクリプションに複数のパブリケーションがあり、その中で同じテーブルが異なる行フィルタを使用してパブリッシュされている場合(同じ<link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>操作の場合)、これらの式はOR結合され、式の<emphasis>いずれか</emphasis>を満たす行がレプリケーションされます。
サブスクリプションに複数のパブリケーションがあり、その中で同じテーブルが異なる行フィルタを使用してパブリッシュされている場合(同じ<link linkend="sql-createpublication-with-publish"><literal>パブリッシュ</literal></link>操作の場合)、これらの式はOR結合され、式の<emphasis>いずれか</emphasis>を満たす行がレプリケーションされます。
これは、次の場合、同じテーブルの他のすべての行フィルタが冗長になることを意味します。
<itemizedlist>
<listitem>
Expand Down Expand Up @@ -1821,8 +1821,8 @@ test_sub=# SELECT * FROM child ORDER BY a;
If a publication publishes only <command>INSERT</command> operations, then
the column list may omit replica identity columns.
-->
パブリケーションが<command>UPDATE</command>または<command>DELETE</command>操作をパブリッシュする場合、どの列リストにもテーブルのレプリカID列が含まれている必要があります(<xref linkend="sql-altertable-replica-identity"/>を参照)。
パブリケーションが<command>INSERT</command>操作のみをパブリッシュする場合列リストでレプリカID列を省略できます
パブリケーションが<command>UPDATE</command>または<command>DELETE</command>操作をパブリッシュする場合、どの列リストにもテーブルのレプリカアイデンティティ列が含まれている必要があります(<xref linkend="sql-altertable-replica-identity"/>を参照)。
パブリケーションが<command>INSERT</command>操作のみをパブリッシュする場合列リストでレプリカアイデンティティ列を省略できます
</para>

<para>
Expand Down Expand Up @@ -2370,7 +2370,7 @@ WAL送信プロセスはWALのロジカルデコーディング(<xref linkend=
initial data synchronization does not take this parameter into account
when copying the existing table data.
-->
パブリケーションの<link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>パラメータは、レプリケーションされるDML操作にのみ影響します。
パブリケーションの<link linkend="sql-createpublication-with-publish"><literal>パブリッシュ</literal></link>パラメータは、レプリケーションされるDML操作にのみ影響します。
初期データ同期では、既存のテーブルデータをコピーするときにこのパラメータは考慮されません。
</para>
</note>
Expand Down

0 comments on commit 4b6a5f8

Please sign in to comment.