diff options
author | Bruce Momjian | 2003-06-25 04:19:24 +0000 |
---|---|---|
committer | Bruce Momjian | 2003-06-25 04:19:24 +0000 |
commit | 53c4f1233fa950c0c6c0e0bbaa7a177278e14b04 (patch) | |
tree | 43a4943c7111a7ffa40c3a41de76d8dc563c535a /doc/src | |
parent | a09ccc70dd78b33271b06a6c250f7578aa4e16a1 (diff) |
UPDATE ... SET <col> = DEFAULT
Rod Taylor
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/update.sgml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/update.sgml b/doc/src/sgml/ref/update.sgml index af7d8cce301..02cc07b0bd4 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.21 2003/04/26 23:56:51 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.22 2003/06/25 04:19:24 momjian Exp $ PostgreSQL documentation --> @@ -16,7 +16,7 @@ PostgreSQL documentation <refsynopsisdiv> <synopsis> -UPDATE [ ONLY ] <replaceable class="PARAMETER">table</replaceable> SET <replaceable class="PARAMETER">column</replaceable> = <replaceable class="PARAMETER">expression</replaceable> [, ...] +UPDATE [ ONLY ] <replaceable class="PARAMETER">table</replaceable> SET <replaceable class="PARAMETER">column</replaceable> = { <replaceable class="PARAMETER">expression</replaceable> | DEFAULT } [, ...] [ FROM <replaceable class="PARAMETER">fromlist</replaceable> ] [ WHERE <replaceable class="PARAMETER">condition</replaceable> ] </synopsis> @@ -78,6 +78,15 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table</replaceable> SET <replacea </varlistentry> <varlistentry> + <term><literal>DEFAULT</literal></term> + <listitem> + <para> + This column will be filled with its default value. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><replaceable class="PARAMETER">fromlist</replaceable></term> <listitem> <para> |