Document that CREATE VIEW that uses "*" for the column list will not

auto-add columns later added to the base table.
This commit is contained in:
Bruce Momjian 2011-02-01 17:17:34 -05:00
parent d56d246e70
commit 5a6ba62be5

View 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>