If a line number is specified,
psql will
position the cursor on the specified line of the view definition.
+
+ Unlike most other meta-commands, the entire remainder of the line is
+ always taken to be the argument(s) of \ev>, and neither
+ variable interpolation nor backquote expansion are performed in the
+ arguments.
+
A \g with argument is a one-shot
alternative to the \o command.
+ If the argument begins with |>, then the entire remainder
+ of the line is taken to be
+ the command to execute,
+ and neither variable interpolation nor backquote expansion are
+ performed in it. The rest of the line is simply passed literally to
+ the shell.
+
+ Unlike most other meta-commands, the entire remainder of the line is
+ always taken to be the argument(s) of \help>, and neither
+ variable interpolation nor backquote expansion are performed in the
+ arguments.
+
+
To simplify typing, commands that consists of several words do
specified, the query output is reset to the standard output.
-
Query results
includes all tables, command
+ If the argument begins with |>, then the entire remainder
+ of the line is taken to be
+ the command to execute,
+ and neither variable interpolation nor backquote expansion are
+ performed in it. The rest of the line is simply passed literally to
+ the shell.
+
+
+ Query results
includes all tables, command
responses, and notices obtained from the database server, as
well as output of various backslash commands that query the
- database (such as \d), but not error
+ database (such as \d); but not error
messages.
output lines are numbered, with the first line of the function body
being line 1.
+
+ Unlike most other meta-commands, the entire remainder of the line is
+ always taken to be the argument(s) of \sf>, and neither
+ variable interpolation nor backquote expansion are performed in the
+ arguments.
+
If + is appended to the command name, then the
output lines are numbered from 1.
+
+ Unlike most other meta-commands, the entire remainder of the line is
+ always taken to be the argument(s) of \sv>, and neither
+ variable interpolation nor backquote expansion are performed in the
+ arguments.
+
If the current query buffer is empty, the most recently executed query
is written instead.
+
+ If the argument begins with |>, then the entire remainder
+ of the line is taken to be
+ the command to execute,
+ and neither variable interpolation nor backquote expansion are
+ performed in it. The rest of the line is simply passed literally to
+ the shell.
+
\! [ command ]
- Escapes to a separate shell or executes the shell command
- command. The
- arguments are not further interpreted; the shell will see them
- as-is. In particular, the variable substitution rules and
- backslash escapes do not apply.
+ With no argument, escapes to a sub-shell;
psql>
+ resumes when the sub-shell exits. With an argument, executes the
+ shell command command.
+
+
+ Unlike most other meta-commands, the entire remainder of the line is
+ always taken to be the argument(s) of \!>, and neither
+ variable interpolation nor backquote expansion are performed in the
+ arguments. The rest of the line is simply passed literally to the
+ shell.