Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5a6ba62

Browse files
committed
Document that CREATE VIEW that uses "*" for the column list will not
auto-add columns later added to the base table.
1 parent d56d246 commit 5a6ba62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/ref/create_view.sgml

+4
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ CREATE VIEW comedies AS
173173
FROM films
174174
WHERE kind = 'Comedy';
175175
</programlisting>
176+
This will create a view containing the columns that are in the
177+
<literal>film</> table at the time of view creation. Though
178+
<literal>*</> was used to create the view, columns added later to
179+
the table will not be part of the view.
176180
</para>
177181
</refsect1>
178182

0 commit comments

Comments
 (0)