Skip to content
Snippets Groups Projects
Commit 5a6ba62b authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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

auto-add columns later added to the base table.
parent d56d246e
No related branches found
No related tags found
No related merge requests found
...@@ -173,6 +173,10 @@ CREATE VIEW comedies AS ...@@ -173,6 +173,10 @@ CREATE VIEW comedies AS
FROM films FROM films
WHERE kind = 'Comedy'; WHERE kind = 'Comedy';
</programlisting> </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> </para>
</refsect1> </refsect1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment