Skip to content

Commit a3e122c

Browse files
[create_domain create_publication]: restored some translations; fixed some errors
1 parent a709b58 commit a3e122c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

postgresql/doc/src/sgml/ref/create_domain.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ ________________________________________________________-->
180180
</para>
181181
________________________________________________________-->
182182
<para>
183-
领域的可选排序。如果未指定排序,则该领域具有与其基础数据类型相同的排序行为
183+
域的可选排序。如果未指定排序,则该域具有与其基础数据类型相同的排序行为
184184
如果指定了<literal>COLLATE</literal>,则基础类型必须是可排序的。
185185
</para>
186186
<!-- pgdoc-cn_end sig_en=d345420b77665e083ec4e14f120229bf -->

postgresql/doc/src/sgml/ref/create_publication.sgml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ ________________________________________________________-->
155155
</para>
156156
________________________________________________________-->
157157
<para>
158-
如果指定了可选的<literal>WHERE</literal>子句,则定义了一个<firstterm>行过滤</firstterm>表达式。
159-
对于<replaceable class="parameter">表达式</replaceable>评估为false或null的行将不会被发布。
158+
如果指定了可选的<literal>WHERE</literal>子句,则定义了一个<firstterm>row filter</firstterm>表达式。
159+
对于<replaceable class="parameter">expression</replaceable>评估为false或null的行将不会被发布。
160160
请注意,表达式周围需要括号。它对<literal>TRUNCATE</literal>命令没有影响。
161161
</para>
162162
<!-- pgdoc-cn_end sig_en=f3d5aeb985726856c471317170f8c584 -->
@@ -198,7 +198,7 @@ ________________________________________________________-->
198198
</para>
199199
________________________________________________________-->
200200
<para>
201-
当出版物同时发布<literal>SCHEMA中的表</literal>时,不支持指定列列表。
201+
当publication也发布 <literal>FOR TABLES IN SCHEMA</literal> 时,不支持指定列列表。
202202
</para>
203203
<!-- pgdoc-cn_end sig_en=4e2432984ca227de90fe511421eba06f -->
204204

@@ -256,7 +256,7 @@ ________________________________________________________-->
256256
</para>
257257
________________________________________________________-->
258258
<para>
259-
当出版物还发布带有列列表的表时,不支持指定模式。
259+
当publication还发布带有列列表的表时,不支持指定模式。
260260
</para>
261261
<!-- pgdoc-cn_end sig_en=d161c1918d6ebc0b359c97015a9f8453 -->
262262

@@ -449,7 +449,7 @@ ________________________________________________________-->
449449
</para>
450450
________________________________________________________-->
451451
<para>
452-
要向出版物添加表格,调用用户必须对表格拥有所有权。使用<command>FOR ALL TABLES</command>和
452+
要向publication添加表格,调用用户必须对表格拥有所有权。使用<command>FOR ALL TABLES</command>和
453453
<command>FOR TABLES IN SCHEMA</command>子句需要调用用户是超级用户。
454454
</para>
455455
<!-- pgdoc-cn_end sig_en=277304b00d1b3ca9cd68209e512c060e -->
@@ -680,7 +680,7 @@ CREATE PUBLICATION insert_only FOR TABLE mydata
680680
</para>
681681
________________________________________________________-->
682682
<para>
683-
创建一个只发布<command>INSERT</command>操作的出版物,针对一个表:
683+
创建一个只发布<command>INSERT</command>操作的publication,针对一个表:
684684
<programlisting>
685685
CREATE PUBLICATION insert_only FOR TABLE mydata
686686
WITH (publish = 'insert');
@@ -718,7 +718,7 @@ CREATE PUBLICATION sales_publication FOR TABLES IN SCHEMA marketing, sales;
718718
</programlisting></para>
719719
________________________________________________________-->
720720
<para>
721-
创建一个发布物,发布位于模式<structname>marketing</structname>和<structname>sales</structname>中的所有表的所有更改:
721+
创建一个发布,发布位于模式<structname>marketing</structname>和<structname>sales</structname>中的所有表的所有更改:
722722
<programlisting>
723723
CREATE PUBLICATION sales_publication FOR TABLES IN SCHEMA marketing, sales;
724724
</programlisting>

0 commit comments

Comments
 (0)