]> granicus.if.org Git - postgresql/commitdiff
Oops, wrong commit on previous. It was:
authorBruce Momjian <bruce@momjian.us>
Wed, 24 Apr 2002 02:40:45 +0000 (02:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 24 Apr 2002 02:40:45 +0000 (02:40 +0000)
The attached patch allows views to have default values. You can't
specify a default value within a CREATE VIEW statement, it must be
done using ALTER TABLE ... ALTER COLUMN ... SET DEFAULT after the
view has already been created. Most of the hard work was done by
Tom Lane, I just patched pg_dump and updated the documentation.

Neil Conway <neilconway@rogers.com>

doc/src/sgml/ref/alter_table.sgml

index b131a11638a51cb315c9a2fe79108a22b6c02d75..b0174bcd1e9ef8317010d1119a561d7290970c7a 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.43 2002/04/23 02:07:15 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.44 2002/04/24 02:40:45 momjian Exp $
 PostgreSQL documentation
 -->
 
@@ -53,6 +53,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable>
    </title>
    <para>
     <variablelist>
+
      <varlistentry>
       <term><replaceable class="PARAMETER"> table </replaceable></term>
       <listitem>