Skip to content

Commit e41697d

Browse files
committed
Update create_table_as.sgml
1 parent 8ec83c1 commit e41697d

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

postgresql/doc/src/sgml/ref/create_table_as.sgml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,17 @@ ____________________________________________________________________________-->
104104
一个视图只要被查询,它的定义<command>SELECT</command>
105105
语句就会被重新计算。
106106
</para>
107+
108+
<!--==========================orignal english content==========================
109+
<para>
110+
<command>CREATE TABLE AS</command> requires <literal>CREATE</literal>
111+
privilege on the schema used for the table.
112+
</para>
113+
____________________________________________________________________________-->
114+
<para>
115+
<command>CREATE TABLE AS</command> 需要用于表的模式上的<literal>CREATE</literal>权限。
116+
privilege on the schema used for the table.
117+
</para>
107118
</refsect1>
108119

109120
<refsect1>
@@ -322,8 +333,8 @@ ____________________________________________________________________________-->
322333
<listitem>
323334
<para>
324335
All rows in the temporary table will be deleted at the end
325-
of each transaction block. Essentially, an automatic <xref
326-
linkend="sql-truncate"/> is done
336+
of each transaction block. Essentially, an automatic <link
337+
linkend="sql-truncate"><command>TRUNCATE</command></link> is done
327338
at each commit.
328339
</para>
329340
</listitem>
@@ -359,8 +370,7 @@ ____________________________________________________________________________-->
359370
<listitem>
360371
<para>
361372
在每一个事务块结束时临时表中的所有行都将被删除。本质上,
362-
在每次提交时会完成一次自动的<xref
363-
linkend="sql-truncate"/>。
373+
在每次提交时会完成一次自动的<link linkend="sql-truncate"><command>TRUNCATE</command></link>。
364374
</para>
365375
</listitem>
366376
</varlistentry>
@@ -409,19 +419,16 @@ ____________________________________________________________________________-->
409419
<listitem>
410420
<!--==========================orignal english content==========================
411421
<para>
412-
A <xref linkend="sql-select"/>, <link
413-
linkend="sql-table">TABLE</link>, or <xref linkend="sql-values"/>
414-
command, or an <xref linkend="sql-execute"/> command that runs a
422+
A <link linkend="sql-select"><command>SELECT</command></link>, <link
423+
linkend="sql-table"><command>TABLE</command></link>, or <link linkend="sql-values"><command>VALUES</command></link>
424+
command, or an <link linkend="sql-execute"><command>EXECUTE</command></link> command that runs a
415425
prepared <command>SELECT</command>, <command>TABLE</command>, or
416426
<command>VALUES</command> query.
417427
</para>
418428
____________________________________________________________________________-->
419429
<para>
420-
一个<xref linkend="sql-select"/>、<link
421-
linkend="sql-table">TABLE</link>或者<xref linkend="sql-values"/>
422-
命令,或者是一个运行准备好的<command>SELECT</command>、
423-
<command>TABLE</command>或者
424-
<command>VALUES</command>查询的<xref linkend="sql-execute"/>命令。
430+
一个<link linkend="sql-select"><command>SELECT</command></link>、<link linkend="sql-table"><command>TABLE</command></link>,或 <link linkend="sql-values"><command>VALUES</command></link>命令,
431+
或者是一个运行准备好的<command>SELECT</command>, <command>TABLE</command>, 或者<command>VALUES</command>查询的<link linkend="sql-execute"><command>EXECUTE</command></link>命令。
425432
</para>
426433
</listitem>
427434
</varlistentry>

0 commit comments

Comments
 (0)