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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy