Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
b9fc9f7c
Commit
b9fc9f7c
authored
Jul 12, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put some things in a better order in psql help
parent
baebab3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
33 deletions
+33
-33
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/psql-ref.sgml
+32
-32
src/bin/psql/help.c
src/bin/psql/help.c
+1
-1
No files found.
doc/src/sgml/ref/psql-ref.sgml
View file @
b9fc9f7c
...
@@ -1772,52 +1772,52 @@ Tue Oct 26 21:40:57 CEST 1999
...
@@ -1772,52 +1772,52 @@ Tue Oct 26 21:40:57 CEST 1999
<varlistentry>
<varlistentry>
<term><literal>\e
v <optional> <replaceable class="parameter">view_name</> <optional> <replaceable class="parameter">line_number</> </optional> </optional>
</literal></term>
<term><literal>\e
ncoding [ <replaceable class="parameter">encoding</replaceable> ]
</literal></term>
<listitem>
<listitem>
<para>
<para>
This command fetches and edits the definition of the named view,
Sets the client character set encoding. Without an argument, this command
in the form of a <command>CREATE OR REPLACE VIEW</> command.
shows the current encoding.
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>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><literal>\e
ncoding [ <replaceable class="parameter">encoding</replaceable> ]
</literal></term>
<term><literal>\e
rrverbose
</literal></term>
<listitem>
<listitem>
<para>
<para>
Sets the client character set encoding. Without an argument, this command
Repeats the most recent server error message at maximum
shows the current encoding.
verbosity, as though <varname>VERBOSITY</varname> were set
to <literal>verbose</> and <varname>SHOW_CONTEXT</varname> were
set to <literal>always</>.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><literal>\e
rrverbose
</literal></term>
<term><literal>\e
v <optional> <replaceable class="parameter">view_name</> <optional> <replaceable class="parameter">line_number</> </optional> </optional>
</literal></term>
<listitem>
<listitem>
<para>
<para>
Repeats the most recent server error message at maximum
This command fetches and edits the definition of the named view,
verbosity, as though <varname>VERBOSITY</varname> were set
in the form of a <command>CREATE OR REPLACE VIEW</> command.
to <literal>verbose</> and <varname>SHOW_CONTEXT</varname> were
Editing is done in the same way as for <literal>\edit</>.
set to <literal>always</>.
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>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -3576,13 +3576,6 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
...
@@ -3576,13 +3576,6 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><literal>%p</literal></term>
<listitem>
<para>The process ID of the backend currently connected to.</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term><literal>%></literal></term>
<term><literal>%></literal></term>
<listitem><para>The port number at which the database server is listening.</para></listitem>
<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>
...
@@ -3624,6 +3617,13 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term><literal>%p</literal></term>
<listitem>
<para>The process ID of the backend currently connected to.</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term><literal>%R</literal></term>
<term><literal>%R</literal></term>
<listitem>
<listitem>
...
...
src/bin/psql/help.c
View file @
b9fc9f7c
...
@@ -372,8 +372,8 @@ helpVariables(unsigned short int pager)
...
@@ -372,8 +372,8 @@ helpVariables(unsigned short int pager)
fprintf
(
output
,
_
(
" expanded (or x) expanded output [on, off, auto]
\n
"
));
fprintf
(
output
,
_
(
" expanded (or x) expanded output [on, off, auto]
\n
"
));
fprintf
(
output
,
_
(
" fieldsep field separator for unaligned output (default
\"
%s
\"
)
\n
"
),
DEFAULT_FIELD_SEP
);
fprintf
(
output
,
_
(
" fieldsep field separator for unaligned output (default
\"
%s
\"
)
\n
"
),
DEFAULT_FIELD_SEP
);
fprintf
(
output
,
_
(
" fieldsep_zero set field separator for unaligned output to zero byte
\n
"
));
fprintf
(
output
,
_
(
" fieldsep_zero set field separator for unaligned output to zero byte
\n
"
));
fprintf
(
output
,
_
(
" format set output format [unaligned, aligned, wrapped, html, asciidoc, ...]
\n
"
));
fprintf
(
output
,
_
(
" footer enable or disable display of the table footer [on, off]
\n
"
));
fprintf
(
output
,
_
(
" footer enable or disable display of the table footer [on, off]
\n
"
));
fprintf
(
output
,
_
(
" format set output format [unaligned, aligned, wrapped, html, asciidoc, ...]
\n
"
));
fprintf
(
output
,
_
(
" linestyle set the border line drawing style [ascii, old-ascii, unicode]
\n
"
));
fprintf
(
output
,
_
(
" linestyle set the border line drawing style [ascii, old-ascii, unicode]
\n
"
));
fprintf
(
output
,
_
(
" null set the string to be printed in place of a null value
\n
"
));
fprintf
(
output
,
_
(
" null set the string to be printed in place of a null value
\n
"
));
fprintf
(
output
,
_
(
" numericlocale enable or disable display of a locale-specific character to separate
\n
"
fprintf
(
output
,
_
(
" numericlocale enable or disable display of a locale-specific character to separate
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment