Skip to content

Commit 44841aa

Browse files
committed
Fix: 19.14, Part VI, 52.18内部分内容未翻译
1 parent e07e4cd commit 44841aa

File tree

5 files changed

+15
-58
lines changed

5 files changed

+15
-58
lines changed

postgresql/doc/src/sgml/catalogs.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5684,7 +5684,7 @@ ____________________________________________________________________________-->
56845684
<row>
56855685
<entry><structfield>objid</structfield></entry>
56865686
<entry><type>oid</type></entry>
5687-
<entry>any OID column</entry>
5687+
<entry>任意OID列</entry>
56885688
<entry>指定依赖对象的OID</entry>
56895689
</row>
56905690

@@ -5736,7 +5736,7 @@ ____________________________________________________________________________-->
57365736
<row>
57375737
<entry><structfield>refobjid</structfield></entry>
57385738
<entry><type>oid</type></entry>
5739-
<entry>any OID column</entry>
5739+
<entry>任意OID列</entry>
57405740
<entry>指定被引用对象的OID</entry>
57415741
</row>
57425742

@@ -6058,7 +6058,7 @@ ____________________________________________________________________________-->
60586058
<row>
60596059
<entry><structfield>objoid</structfield></entry>
60606060
<entry><type>oid</type></entry>
6061-
<entry>any OID column</entry>
6061+
<entry>任意OID列</entry>
60626062
<entry>描述所属对象的OID</entry>
60636063
</row>
60646064

@@ -11216,7 +11216,7 @@ ____________________________________________________________________________-->
1121611216
<row>
1121711217
<entry><structfield>objoid</structfield></entry>
1121811218
<entry><type>oid</type></entry>
11219-
<entry>any OID column</entry>
11219+
<entry>任意OID列</entry>
1122011220
<entry>该安全标签依附的对象的OID</entry>
1122111221
</row>
1122211222

@@ -19359,7 +19359,7 @@ ____________________________________________________________________________-->
1935919359
<row>
1936019360
<entry><structfield>objoid</structfield></entry>
1936119361
<entry><type>oid</type></entry>
19362-
<entry>any OID column</entry>
19362+
<entry>任意OID列</entry>
1936319363
<entry>安全标签所属对象的OID</entry>
1936419364
</row>
1936519365
<!--==========================orignal english content==========================

postgresql/doc/src/sgml/config.sgml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13308,11 +13308,7 @@ ____________________________________________________________________________-->
1330813308
</para>
1330913309
____________________________________________________________________________-->
1331013310
<para>
13311-
When set to false, which is the default, <productname>PostgreSQL</productname>
13312-
will raise a PANIC-level error on failure to flush modified data files
13313-
to the filesystem. This causes the database server to crash.
13314-
当设置为false(默认值),<productname>PostgreSQL</productname>
13315-
把修改的数据文件刷新到文件系统失败,将引发PANIC级错误。 这会导致数据库服务器崩溃。
13311+
如果设置为false(默认值),<productname>PostgreSQL</productname>在将修改的数据文件刷新到文件系统失败时,将引发PANIC级错误。这样会导致数据库服务器崩溃。
1331613312
</para>
1331713313
<!--==========================orignal english content==========================
1331813314
<para>
@@ -13327,14 +13323,7 @@ ____________________________________________________________________________-->
1332713323
</para>
1332813324
____________________________________________________________________________-->
1332913325
<para>
13330-
On some operating systems, the status of data in the kernel's page
13331-
cache is unknown after a write-back failure. In some cases it might
13332-
have been entirely forgotten, making it unsafe to retry; the second
13333-
attempt may be reported as successful, when in fact the data has been
13334-
lost. In these circumstances, the only way to avoid data loss is to
13335-
recover from the WAL after any failure is reported, preferably
13336-
after investigating the root cause of the failure and replacing any
13337-
faulty hardware.
13326+
在某些操作系统上,回写失败后,内核页面缓存中的数据状态未知。 在某些情况下,它可能已被完全遗忘,因此重试不安全;第二次尝试可能报告为成功,而事实上数据已丢失。在此类情形下,避免数据丢失的唯一方法是在报告任何故障后从WAL中恢复,最好是在调查了故障的根本原因并更换了任何有故障的硬件之后。
1333813327
</para>
1333913328
<!--==========================orignal english content==========================
1334013329
<para>
@@ -13346,11 +13335,7 @@ ____________________________________________________________________________-->
1334613335
</para>
1334713336
____________________________________________________________________________-->
1334813337
<para>
13349-
If set to true, <productname>PostgreSQL</productname> will instead
13350-
report an error but continue to run so that the data flushing
13351-
operation can be retried in a later checkpoint. Only set it to true
13352-
after investigating the operating system's treatment of buffered data
13353-
in case of write-back failure.
13338+
如果设置为true,<productname>PostgreSQL</productname>将报告错误,但会继续运行,以便可以在以后的检查点中重试数据刷新操作。仅在调查操作系统假如回写失败时对缓冲数据的处理方式的情况下,才将其设置为true。
1335413339
</para>
1335513340
</listitem>
1335613341
</varlistentry>

postgresql/doc/src/sgml/ref/analyze.sgml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,7 @@ ____________________________________________________________________________-->
9797
</para>
9898
____________________________________________________________________________-->
9999
<para>
100-
===Without a <replaceable class="parameter">table_and_columns</replaceable>
101-
list, <command>ANALYZE</command> processes every table and materialized view
102-
in the current database that the current user has permission to analyze.
103-
With a list, <command>ANALYZE</command> processes only those table(s).
104-
It is further possible to give a list of column names for a table,
105-
in which case only the statistics for those columns are collected.
100+
如果没有<replaceable class="parameter">table_and_columns</replaceable>列表,则<command>ANALYZE</command>处理当前用户有权分析的当前数据库中的每个表和物化视图。使用列表,<command>ANALYZE</command>仅处理那些表。还可以给出表的列名列表,在这种情况下,仅收集这些列的统计信息。
106101
</para>
107102

108103
<!--==========================orignal english content==========================
@@ -114,10 +109,7 @@ ____________________________________________________________________________-->
114109
</para>
115110
____________________________________________________________________________-->
116111
<para>
117-
===When the option list is surrounded by parentheses, the options can be
118-
written in any order. The parenthesized syntax was added in
119-
<productname>PostgreSQL</productname> 11; the unparenthesized syntax
120-
is deprecated.
112+
当选项列表用括号括起来时,选项可以按任何顺序来写。 带括号的语法是在<productname>PostgreSQL</productname> 11中添加的;不带括号的语法已弃用。
121113
</para>
122114
</refsect1>
123115

@@ -162,11 +154,7 @@ ____________________________________________________________________________-->
162154
</para>
163155
____________________________________________________________________________-->
164156
<para>
165-
要分析的一个指定表的名称(可以是模式限定的)。===If omitted, all regular tables, partitioned tables, and
166-
materialized views in the current database are analyzed (but not
167-
foreign tables). If the specified table is a partitioned table, both the
168-
inheritance statistics of the partitioned table as a whole and
169-
statistics of the individual partitions are updated.
157+
要分析的一个指定表的名称(可以是模式限定的)。如果省略,则分析当前数据库中的所有常规表、分区表和物化视图(但不包含外部表)。 如果指定的表是分区表,则整个分区表的继承统计信息和各个分区的统计信息都将更新。
170158
</para>
171159
</listitem>
172160
</varlistentry>

postgresql/doc/src/sgml/ref/create_cast.sgml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -518,13 +518,7 @@ ____________________________________________________________________________-->
518518
</para>
519519
____________________________________________________________________________-->
520520
<para>
521-
Ordinarily a cast must have different source and target data types.
522-
However, it is allowed to declare a cast with identical source and
523-
target types if it has a cast implementation function with more than one
524-
argument. This is used to represent type-specific length coercion
525-
functions in the system catalogs. The named function is used to
526-
coerce a value of the type to the type modifier value given by its
527-
second argument.
521+
通常,强制转换必须具有不同的源和目标数据类型。但是,如果它有一个带有多个参数的强制转换实现函数,则可以声明具有相同源类型和目标类型的造型。它用于表示系统目录中特定类型的长度强制函数。命名函数用于将类型的值强制转为其第二个参数提供的类型修饰符的值。
528522
</para>
529523

530524
<!--==========================orignal english content==========================
@@ -538,12 +532,7 @@ ____________________________________________________________________________-->
538532
</para>
539533
____________________________________________________________________________-->
540534
<para>
541-
When a cast has different source and
542-
target types and a function that takes more than one argument, it
543-
supports converting from one type to another and applying a length
544-
coercion in a single step. When no such entry is available, coercion
545-
to a type that uses a type modifier involves two cast steps, one to
546-
convert between data types and a second to apply the modifier.
535+
当强制转换具有不同的源类型和目标类型,并且一个函数使用多个参数时,它支持从一种类型转换为另一种类型,并在单个步骤中应用长度强制。如果没有这样的条目,强制转换为使用类型修饰符的类型将涉及两个强制转换步骤,一个是在数据类型之间进行转换,另一个是应用修饰符。
547536
</para>
548537

549538
<!--==========================orignal english content==========================
@@ -553,8 +542,7 @@ ____________________________________________________________________________-->
553542
</para>
554543
____________________________________________________________________________-->
555544
<para>
556-
A cast to or from a domain type currently has no effect. Casting
557-
to or from a domain uses the casts associated with its underlying type.
545+
向域类型强制转换或从域类型强制转换当前无效。向域或从域强制转换使用与其基础类型关联的造型。
558546
</para>
559547

560548
</refsect1>

postgresql/doc/src/sgml/ref/create_event_trigger.sgml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,7 @@ ____________________________________________________________________________-->
197197
</para>
198198
____________________________________________________________________________-->
199199
<para>
200-
===In the syntax of <literal>CREATE EVENT TRIGGER</literal>, the keywords
201-
<literal>FUNCTION</literal> and <literal>PROCEDURE</literal> are
202-
equivalent, but the referenced function must in any case be a function,
203-
not a procedure. The use of the keyword <literal>PROCEDURE</literal>
204-
here is historical and deprecated.
200+
在<literal>CREATE EVENT TRIGGER</literal>的语法中,关键字<literal>CREATE EVENT TRIGGER</literal>和<literal>PROCEDURE</literal>是等效的,但是被引用的函数在任何情况下都必须是函数,而不是过程。 此处关键字<literal>PROCEDURE</literal>的使用是历史性的,已弃用。
205201
</para>
206202
</listitem>
207203
</varlistentry>

0 commit comments

Comments
 (0)