Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf00d59

Browse files
committed
Clean up some bogosities in description of target lists.
1 parent9cf0a82 commitcf00d59

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

‎doc/src/sgml/syntax.sgml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.26 2000/12/1422:30:56 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.27 2000/12/16 18:22:53 tgl Exp $
33
-->
44

55
<chapter id="syntax">
@@ -791,24 +791,21 @@ sqrt(emp.salary)
791791

792792
<para>
793793
A <firstterm>target list</firstterm>
794-
is aparenthesized,comma-separated list of one or more elements, each
794+
is a comma-separated list of one or more elements, each
795795
of which must be of the form:
796796

797797
<synopsis>
798798
<replaceable>a_expr</replaceable> [ AS <replaceable>result_attname</replaceable> ]
799799
</synopsis>
800800

801801
where <replaceable>result_attname</replaceable>
802-
is the name of the attribute to be created (or an
803-
already existing attribute name in the case of update statements.) If
802+
is the name to be assigned to the created column. If
804803
<replaceable>result_attname</replaceable>
805-
is not present, then
806-
<replaceable>a_expr</replaceable>
807-
must contain only one attribute name which is assumed to be the name
808-
of the result field. In <productname>Postgres</productname>
809-
default naming is only used if
810-
<replaceable>a_expr</replaceable>
811-
is an attribute.
804+
is not present, then <productname>Postgres</productname> selects a
805+
default name based on the contents of <replaceable>a_expr</replaceable>.
806+
If <replaceable>a_expr</replaceable> is a simple attribute reference
807+
then the default name will be the same as that attribute's name, but
808+
otherwise the implementation is free to assign any default name.
812809
</para>
813810
</sect2>
814811

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp