+ class="parameter">pattern
is specified, only schemas whose names match the pattern are listed.
Non-local temporary schemas are suppressed. If +
is appended to the command name, each object is listed with its associated
- \do[S] [ <replaceable class="parameter">pattern> ]
+ \do[S] [ <link linkend="APP-PSQL-patterns">pattern> ]
- Lists available operators with their operand and return types.
+ Lists operators with their operand and return types.
If pattern is
specified, only operators whose names match the pattern are listed.
By default, only user-created objects are shown; supply a
- \dp [ <replaceable class="parameter">pattern> ]
+ \dp [ <link linkend="APP-PSQL-patterns">pattern> ]
- Lists available tables, views and sequences with their
+ Lists tables, views and sequences with their
associated access privileges.
If pattern is
- specified, only tables, views and sequences whose names match the pattern are listed.
+ specified, only tables, views and sequences whose names match the
+ pattern are listed.
- \drds [ <replaceable class="parameter">role-pattern [ database-pattern > ] ]
+ \drds [ <link linkend="APP-PSQL-patterns">role-pattern [ database-pattern> ] ]
- Lists defined configuration settings. These settings can be role-specific,
- database-specific, or both. role-pattern and
- database-pattern are used to select
- specific roles and database to list, respectively; if omitted, or * is specified,
- all settings are listed, including those not role-specific or database-specific,
- respectively.
+ Lists defined configuration settings. These settings can be
+ role-specific, database-specific, or both.
+ role-pattern and
+ database-pattern are used to select
+ specific roles and databases to list, respectively. If omitted, or if
+ *> is specified, all settings are listed, including those
+ not role-specific or database-specific, respectively.
The and
- commands are used to define per-database role configuration settings.
+ commands are used to define per-role and per-database configuration
+ settings.
- \dT[S+] [ <replaceable class="parameter">pattern> ]
+ \dT[S+] [ <link linkend="APP-PSQL-patterns">pattern> ]
- Lists available data types.
+ Lists data types.
If pattern is
specified, only types whose names match the pattern are listed.
If + is appended to the command name, each type is
- \du[+] [ <replaceable class="parameter">pattern> ]
+ \du[+] [ <link linkend="APP-PSQL-patterns">pattern> ]
- Lists
all database roles. If
+ Lists database roles. If
class="parameter">pattern is specified, only
those roles whose names match the pattern are listed.
If the form \du+ is used, additional information
- \w {filename | |command}
+ \w filename
+ \w |>command
Outputs the current query buffer to the file
- \z [ <replaceable class="parameter">pattern> ]
+ \z [ <link linkend="APP-PSQL-patterns">pattern> ]
- Produces a list of all available tables, views and sequences with their
+ Lists tables, views and sequences with their
associated access privileges.
If a pattern is
- specified, only tables,views and sequences whose names match the pattern are listed.
+ specified, only tables, views and sequences whose names match the
+ pattern are listed.
Escapes to a separate Unix shell or executes the Unix command
command. The
arguments are not further interpreted, the shell will see them
- as is.
+ as-is.
the table named fooFOObar>.
+ Whenever the pattern parameter
+ is omitted completely, the \d> commands display all objects
+ that are visible in the current schema search path — this is
+ equivalent to using *> as the pattern.
+ (An object is said to be visible> if its
+ containing schema is in the search path and no object of the same
+ kind and name appears earlier in the search path. This is equivalent to the
+ statement that the object can be referenced by name without explicit
+ schema qualification.)
+ To see all objects in the database regardless of visibility,
+ use *.*> as the pattern.
+
+
Within a pattern, *> matches any sequence of characters
(including no characters) and ?> matches any single character.
(This notation is comparable to Unix shell file name patterns.)
- For example, \dt int*> displays all tables whose names
+ For example, \dt int*> displays tables whose names
begin with int>. But within double quotes, *>
and ?> lose these special meanings and are just matched
literally.
expression special characters are matched literally in operator name
patterns (i.e., the argument of \do>).
-
- Whenever the pattern parameter
- is omitted completely, the \d> commands display all objects
- that are visible in the current schema search path — this is
- equivalent to using the pattern *>.
- To see all objects in the database, use the pattern *.*>.
-