]> granicus.if.org Git - postgresql/commitdiff
Document that CREATE VIEW that uses "*" for the column list will not
authorBruce Momjian <bruce@momjian.us>
Tue, 1 Feb 2011 22:17:34 +0000 (17:17 -0500)
committerBruce Momjian <bruce@momjian.us>
Tue, 1 Feb 2011 22:17:34 +0000 (17:17 -0500)
auto-add columns later added to the base table.

doc/src/sgml/ref/create_view.sgml

index dd1550781115ee9770c9e238a52faab97e6749d7..417f8c38e7eebe0a80f809ff53070b09fcff9086 100644 (file)
@@ -173,6 +173,10 @@ CREATE VIEW comedies AS
     FROM films
     WHERE kind = 'Comedy';
 </programlisting>
+   This will create a view containing the columns that are in the
+   <literal>film</> table at the time of view creation.  Though
+   <literal>*</> was used to create the view, columns added later to
+   the table will not be part of the view.
   </para>
  </refsect1>