specified, a blank <command>CREATE FUNCTION</command>
template is presented for editing.
</para>
<para>
If a line number is specified, <application>psql</application> will
position the cursor on the specified line of the function body.
(Note that the function body typically does not begin on the first
line of the file.)
</para>
<para>
Unlike most other meta-commands, the entire remainder of the line is
always taken to be the argument(s) of <command>\ef</command>, and neither
variable interpolation nor backquote expansion are performed in the
arguments.
</para>
<tip>
<para>
See <xref linkend="app-psql-environment"/>, below, for how to
configure and customize your editor.
</para>
</tip>
</listitem>
</varlistentry>
<varlistentry id="app-psql-meta-command-encoding">
<term><literal>\encoding [ <replaceable class="parameter">encoding</replaceable> ]</literal></term>
<listitem>
<para>
Sets the client character set encoding. Without an argument, this command
shows the current encoding.
</para>
</listitem>
</varlistentry>
<varlistentry id="app-psql-meta-command-errverbose">
<term><literal>\errverbose</literal></term>
<listitem>
<para>
Repeats the most recent server error message at maximum
verbosity, as though <varname>VERBOSITY</varname> were set
to <literal>verbose</literal> and <varname>SHOW_CONTEXT</varname> were
set to <literal>always</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry id="app-psql-meta-command-ev">
<term><literal>\ev <optional> <replaceable class="parameter">view_name</replaceable> <optional> <replaceable class="parameter">line_number</replaceable> </optional> </optional> </literal></term>
<listitem>
<para>
This command fetches and edits the definition of the named view,
in the form of a <command>CREATE OR REPLACE VIEW</command> command.
Editing is done in the same way as for <literal>\edit</literal>.
If you quit the editor without saving, the statement is discarded.
If you save and exit the editor, the updated command is executed immediately
if you added a semicolon to it. Otherwise it is redisplayed;
type semicolon or <literal>\g</literal> to send it, or <literal>\r</literal>
to cancel.
</para>
<para>
If no view is specified, a blank <command>CREATE VIEW</command>
template is presented for editing.
</para>
<para>
If a line number is specified, <application>psql</application> will
position the cursor on the specified line of the view definition.
</para>
<para>
Unlike most other meta-commands, the entire remainder of the line is
always taken to be the argument(s) of <command>\ev</command>, and neither
variable interpolation nor backquote expansion are performed in the
arguments.
</para>
</listitem>
</varlistentry>
<varlistentry id="app-psql-meta-command-f">
<term><literal>\f [ <replaceable class="parameter">string</replaceable> ]</literal></term>
<listitem>
<para>
Sets the field separator for unaligned query output. The default
is the vertical bar (<literal>|</literal>). It is equivalent to
<command>\pset fieldsep</command>.
</para>
</listitem>
</varlistentry>
<varlistentry id="app-psql-meta-command-g">
<term><literal>\g [ (<replaceable class="parameter">option</replaceable>=<replaceable class="parameter">value</replaceable> [...]) ] [ <replaceable class="parameter">filename</replaceable> ]</literal></term>
<term><literal>\g [ (<replaceable