projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56d246
)
Document that CREATE VIEW that uses "*" for the column list will not
author
Bruce Momjian
<
[email protected]
>
Tue, 1 Feb 2011 22:17:34 +0000
(17:17 -0500)
committer
Bruce Momjian
<
[email protected]
>
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
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/create_view.sgml
b/doc/src/sgml/ref/create_view.sgml
index dd1550781115ee9770c9e238a52faab97e6749d7..417f8c38e7eebe0a80f809ff53070b09fcff9086 100644
(file)
--- a/
doc/src/sgml/ref/create_view.sgml
+++ b/
doc/src/sgml/ref/create_view.sgml
@@
-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>