summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/update.sgml
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-09-12 00:12:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-09-12 00:12:47 +0000
commite90b841915b5ea295af4c3863ddcf834c85a82f6 (patch)
tree73ee943f0867fa351e5b474f38b17ed8ae904053 /doc/src/sgml/ref/update.sgml
parentfbb39c059e8214865efdc4d0a5ce775248151208 (diff)
downloadpostgresql-e90b841915b5ea295af4c3863ddcf834c85a82f6.tar.gz
More cleanup of Diagnostics sections.
Diffstat (limited to 'doc/src/sgml/ref/update.sgml')
-rw-r--r--doc/src/sgml/ref/update.sgml29
1 files changed, 14 insertions, 15 deletions
diff --git a/doc/src/sgml/ref/update.sgml b/doc/src/sgml/ref/update.sgml
index 01917b362d..10d5886b3b 100644
--- a/doc/src/sgml/ref/update.sgml
+++ b/doc/src/sgml/ref/update.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.25 2003/09/11 21:42:20 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.26 2003/09/12 00:12:47 tgl Exp $
PostgreSQL documentation
-->
@@ -118,21 +118,20 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table</replaceable> SET <replacea
</refsect1>
<refsect1>
- <title>Diagnostics</title>
+ <title>Outputs</title>
- <variablelist>
- <varlistentry>
- <term><computeroutput>UPDATE <replaceable class="parameter">count</replaceable></computeroutput></term>
- <listitem>
- <para>
- Message returned if successful. The value <replaceable
- class="parameter">count</replaceable> is the number of rows
- updated. If <replaceable class="parameter">count</replaceable>
- is 0, no rows were updated.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
+ <para>
+ On successful completion, an <command>UPDATE</> command returns a command
+ tag of the form
+<screen>
+UPDATE <replaceable class="parameter">count</replaceable>
+</screen>
+ The <replaceable class="parameter">count</replaceable> is the number
+ of rows updated. If <replaceable class="parameter">count</replaceable> is
+ 0, no rows matched the <replaceable
+ class="parameter">condition</replaceable> (this is not considered
+ an error).
+ </para>
</refsect1>
<refsect1>