Skip to content

Commit bcefee6

Browse files
[revoke select]: restored some translations; fixed some errors
[show]: restored some translations; fixed some errors
1 parent f11beaf commit bcefee6

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

postgresql/doc/src/sgml/ref/revoke.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ REVOKE [ ADMIN OPTION FOR ]
267267
<phrase>where <replaceable class="parameter">role_specification</replaceable> can be:</phrase>
268268

269269
[ GROUP ] <replaceable class="parameter">role_name</replaceable>
270-
| 公共
271-
| 当前角色
272-
| 当前用户
273-
| 会话用户
270+
| PUBLIC
271+
| CURRENT_ROLE
272+
| CURRENT_USER
273+
| SESSION_USER
274274
</synopsis>
275275
<!-- pgdoc-cn_end sig_en=c23b17cd43cb488c7f526cde893e2cd7 -->
276276
</refsynopsisdiv>

postgresql/doc/src/sgml/ref/select.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ ________________________________________________________-->
857857
________________________________________________________-->
858858
<para>
859859
<literal>BERNOULLI</literal>和<literal>SYSTEM</literal>抽样方法
860-
各接受一个<replaceable class="parameter">参数</replaceable>
860+
各接受一个<replaceable class="parameter">argument</replaceable>
861861
,即要抽样的表格比例,表示为0到100之间的百分比。
862862
此参数可以是任何<type>实数</type>表达式。
863863
(其他抽样方法可能接受更多或不同的参数。)
@@ -891,8 +891,8 @@ ________________________________________________________-->
891891
</para>
892892
________________________________________________________-->
893893
<para>
894-
可选的<literal>REPEATABLE</literal>子句指定用于在抽样方法中生成随机数的<replaceable class="parameter">种子</replaceable>数或表达式。
895-
种子值可以是任何非空浮点值。如果两个查询指定相同的种子和<replaceable class="parameter">参数</replaceable>值,
894+
可选的<literal>REPEATABLE</literal>子句指定用于在抽样方法中生成随机数的<replaceable class="parameter">seed</replaceable>数或表达式。
895+
种子值可以是任何非空浮点值。如果两个查询指定相同的种子和<replaceable class="parameter">argument</replaceable>值,
896896
则如果表在此期间未更改,则将选择相同的表样本。但是不同的种子值通常会产生不同的样本。
897897
如果未给出<literal>REPEATABLE</literal>,则每个查询都会选择一个新的随机样本,基于系统生成的种子。
898898
请注意,一些附加的抽样方法不接受<literal>REPEATABLE</literal>,并且在每次使用时总是生成新的样本。
@@ -919,7 +919,7 @@ ________________________________________________________-->
919919
________________________________________________________-->
920920
<para>
921921
子<command>SELECT</command>可以出现在<literal>FROM</literal>子句中。这就好像它的输出被创建为临时表,仅在这个单个<command>SELECT</command>命令的持续时间内有效。
922-
注意,子<command>SELECT</command>必须用括号括起来,并且必须为其提供一个别名<emphasis>必须</emphasis>。在这里还可以使用<link linkend="sql-values"><command>VALUES</command></link>命令。
922+
注意,子<command>SELECT</command>必须用括号括起来,并且<emphasis>必须</emphasis>为其提供一个别名。在这里还可以使用<link linkend="sql-values"><command>VALUES</command></link>命令。
923923
</para>
924924
<!-- pgdoc-cn_end sig_en=ddc9b6396678f2ddecdd2a81ab34a658 -->
925925
</listitem>

postgresql/doc/src/sgml/ref/show.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,12 @@ ________________________________________________________-->
336336
SHOW ALL;
337337
name | setting | description
338338
-------------------------+---------+-------------------------------------------------
339-
allow_system_table_mods | off | 允许修改...
339+
allow_system_table_mods | off | Allows modifications of the structure of ...
340340
.
341341
.
342342
.
343-
xmloption | content | 设置是否在隐式解析中包含XML数据...
344-
zero_damaged_pages | off | 继续处理受损页眉的页面。
343+
xmloption | content | Sets whether XML data in implicit parsing ...
344+
zero_damaged_pages | off | Continues processing past damaged page headers.
345345
(196 行)
346346
</programlisting></para>
347347
<!-- pgdoc-cn_end sig_en=da9e5b9f525f88c8d52e47e12938651a -->

0 commit comments

Comments
 (0)