Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
548512ad
Commit
548512ad
authored
23 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Document column-name-list option of CREATE VIEW ... which has been there
awhile, but the man page didn't know it.
parent
458bc445
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/create_view.sgml
+14
-3
14 additions, 3 deletions
doc/src/sgml/ref/create_view.sgml
with
14 additions
and
3 deletions
doc/src/sgml/ref/create_view.sgml
+
14
−
3
View file @
548512ad
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.1
0
2001/0
1
/1
3
23:
58:55 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_view.sgml,v 1.1
1
2001/0
8
/1
0
23:
49:20 tgl
Exp $
Postgres documentation
Postgres documentation
-->
-->
...
@@ -23,7 +23,8 @@ Postgres documentation
...
@@ -23,7 +23,8 @@ Postgres documentation
<date>2000-03-25</date>
<date>2000-03-25</date>
</refsynopsisdivinfo>
</refsynopsisdivinfo>
<synopsis>
<synopsis>
CREATE VIEW <replaceable class="PARAMETER">view</replaceable> AS SELECT <replaceable class="PARAMETER">query</replaceable>
CREATE VIEW <replaceable class="PARAMETER">view</replaceable> [ ( <replaceable
class="PARAMETER">column name list</replaceable> ) ] AS SELECT <replaceable class="PARAMETER">query</replaceable>
</synopsis>
</synopsis>
<refsect2 id="R2-SQL-CREATEVIEW-1">
<refsect2 id="R2-SQL-CREATEVIEW-1">
...
@@ -44,6 +45,16 @@ CREATE VIEW <replaceable class="PARAMETER">view</replaceable> AS SELECT <replace
...
@@ -44,6 +45,16 @@ CREATE VIEW <replaceable class="PARAMETER">view</replaceable> AS SELECT <replace
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><replaceable class="parameter">column name list</replaceable></term>
<listitem>
<para>
An optional list of names to be used for columns of the view.
If given, these names override the column names that would be
deduced from the SQL query.
</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term><replaceable class="parameter">query</replaceable></term>
<term><replaceable class="parameter">query</replaceable></term>
<listitem>
<listitem>
...
@@ -124,7 +135,7 @@ CREATE VIEW vista AS SELECT text 'Hello World'
...
@@ -124,7 +135,7 @@ CREATE VIEW vista AS SELECT text 'Hello World'
</title>
</title>
<para>
<para>
<command>CREATE VIEW</command> will define a view of a table.
<command>CREATE VIEW</command> will define a view of a table.
Th
is
view is not physically materialized.
Specifically
, a query
Th
e
view is not physically materialized.
Instead
, a query
rewrite retrieve rule is automatically generated to support
rewrite retrieve rule is automatically generated to support
retrieve operations on views.
retrieve operations on views.
</para>
</para>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment