mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Put some things in a better order in psql help
This commit is contained in:
@ -1771,32 +1771,6 @@ Tue Oct 26 21:40:57 CEST 1999
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>\ev <optional> <replaceable class="parameter">view_name</> <optional> <replaceable class="parameter">line_number</> </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.
|
||||
Editing is done in the same way as for <literal>\edit</>.
|
||||
After the editor exits, the updated command waits in the query buffer;
|
||||
type semicolon or <literal>\g</> to send it, or <literal>\r</>
|
||||
to cancel.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If no view is specified, a blank <command>CREATE VIEW</>
|
||||
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>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>\encoding [ <replaceable class="parameter">encoding</replaceable> ]</literal></term>
|
||||
|
||||
@ -1823,6 +1797,32 @@ Tue Oct 26 21:40:57 CEST 1999
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>\ev <optional> <replaceable class="parameter">view_name</> <optional> <replaceable class="parameter">line_number</> </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.
|
||||
Editing is done in the same way as for <literal>\edit</>.
|
||||
After the editor exits, the updated command waits in the query buffer;
|
||||
type semicolon or <literal>\g</> to send it, or <literal>\r</>
|
||||
to cancel.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If no view is specified, a blank <command>CREATE VIEW</>
|
||||
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>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>\f [ <replaceable class="parameter">string</replaceable> ]</literal></term>
|
||||
|
||||
@ -3576,13 +3576,6 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>%p</literal></term>
|
||||
<listitem>
|
||||
<para>The process ID of the backend currently connected to.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>%></literal></term>
|
||||
<listitem><para>The port number at which the database server is listening.</para></listitem>
|
||||
@ -3624,6 +3617,13 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>%p</literal></term>
|
||||
<listitem>
|
||||
<para>The process ID of the backend currently connected to.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>%R</literal></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user