-
+ endterm="sql-createfunction-title">
-
-
-
+ endterm="sql-droplanguage-title">
+ endterm="sql-grant-title">
+ endterm="sql-revoke-title">
PostgreSQL Programmer's Guide
- creates a dummy table (with no underlying
+ endterm="sql-createview-title"> creates a dummy table (with no underlying
storage) and associates an ON SELECT rule with it. The system will not
allow updates to the view, since it knows there is no real table there.
You can create the
- CREATE TABLE AS
+ id="sql-createtableas-title">CREATE TABLE AS
SQL - Language Statements
If specified, the table is created as a temporary table.
- Refer to for details.
+ Refer to endterm="sql-createtable-title"> for details.
A query statement (that is, a SELECT
command). Refer to
-
+ endterm="sql-select-title">
for a description of the allowed syntax.
Diagnostics
- Refer to and
-
+ Refer to endterm="sql-createtable-title"> and
+ endterm="sql-select-title">
for a summary of possible output messages.
This command is functionally equivalent to
- linkend="sql-selectinto">, but it is preferred since it is less
+ linkend="sql-selectinto" endterm="sql-selectinto-title">, but it is preferred since it is less
likely to be confused with other uses of the SELECT
... INTO syntax.
See Also
-
-
-
-
+ endterm="sql-createtable-title">
+ endterm="sql-createview-title">
+ endterm="sql-select-title">
+ endterm="sql-selectinto-title">
- Refer to the command for
+ Refer to the endterm="sql-droptrigger-title"> command for
information on how to remove triggers.
See Also
-
-
-
+ endterm="sql-createfunction-title">
+ endterm="sql-altertrigger-title">
+ endterm="sql-droptrigger-title">
PostgreSQL Programmer's Guide
See Also
-
-
+ endterm="sql-createfunction-title">
+ endterm="sql-droptype-title">
PostgreSQL Programmer's Guide
which will provide the columns and rows of the view.
- Refer to for more information
+ Refer to endterm="sql-select-title"> for more information
about valid arguments.
update, or delete on a view. You can get the effect of an updatable
view by creating rules that rewrite inserts, etc. on the view into
appropriate actions on other tables. For more information see
- .
+ endterm="sql-createrule-title">.
See Also
-
+ endterm="sql-createdomain-title">
Refer to
-
+ endterm="sql-createfunction-title">
for information on creating functions.
See Also
-
+ endterm="sql-createfunction-title">
See Also
-
+ endterm="sql-createtrigger-title">
See Also
-
+ endterm="sql-createtype-title">
Notes
- Refer to
+ Refer to endterm="sql-createview-title">
for information on how to create views.
See Also
-
+ endterm="sql-revoke-title">
See Also
- ,
+ endterm="sql-createfunction-title">,
PostgreSQL Programmer's Guide
-
+
which might require manual interaction (e.g., passwords). If
you use the option,
then
pg_restore will instead use the
- linkend="sql-set-session-authorization"> command. This has
+ linkend="sql-set-session-authorization" endterm="sql-set-session-authorization-title"> command. This has
the same effect, but it requires that the user restoring the
archive is a database superuser. This option effectively
overrides the option.
Use 's \z command to
display the privileges granted on existing objects. See also
- linkend="sql-grant"> for information about the format.
+ linkend="sql-grant" endterm="sql-grant-title"> for information about the format.
See Also
-
+ endterm="sql-grant-title">
If specified, the table is created as a temporary table.
- Refer to for details.
+ Refer to endterm="sql-createtable-title"> for details.
All other inputs are described in detail for
- .
+ endterm="sql-select-title">.
Refer to
-
+ endterm="sql-createtable-title">
and
-
+ endterm="sql-select-title">
for a summary of possible output messages.
-
+ endterm="sql-createtableas-title">
is functionally equivalent to SELECT INTO.
CREATE TABLE AS is the recommended syntax, since
SELECT INTO is not standard. In fact, this form of