Commit cf00d593 authored by Tom Lane's avatar Tom Lane

Clean up some bogosities in description of target lists.

parent 9cf0a82f
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.26 2000/12/14 22:30:56 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.27 2000/12/16 18:22:53 tgl Exp $
--> -->
<chapter id="syntax"> <chapter id="syntax">
...@@ -791,7 +791,7 @@ sqrt(emp.salary) ...@@ -791,7 +791,7 @@ sqrt(emp.salary)
<para> <para>
A <firstterm>target list</firstterm> A <firstterm>target list</firstterm>
is a parenthesized, comma-separated list of one or more elements, each is a comma-separated list of one or more elements, each
of which must be of the form: of which must be of the form:
<synopsis> <synopsis>
...@@ -799,16 +799,13 @@ sqrt(emp.salary) ...@@ -799,16 +799,13 @@ sqrt(emp.salary)
</synopsis> </synopsis>
where <replaceable>result_attname</replaceable> where <replaceable>result_attname</replaceable>
is the name of the attribute to be created (or an is the name to be assigned to the created column. If
already existing attribute name in the case of update statements.) If
<replaceable>result_attname</replaceable> <replaceable>result_attname</replaceable>
is not present, then is not present, then <productname>Postgres</productname> selects a
<replaceable>a_expr</replaceable> default name based on the contents of <replaceable>a_expr</replaceable>.
must contain only one attribute name which is assumed to be the name If <replaceable>a_expr</replaceable> is a simple attribute reference
of the result field. In <productname>Postgres</productname> then the default name will be the same as that attribute's name, but
default naming is only used if otherwise the implementation is free to assign any default name.
<replaceable>a_expr</replaceable>
is an attribute.
</para> </para>
</sect2> </sect2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment