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
c4a7e5dd
Commit
c4a7e5dd
authored
Dec 11, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psql \? rearrangement, suggested by Tom.
parent
721dd192
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/bin/psql/help.c
src/bin/psql/help.c
+7
-6
No files found.
src/bin/psql/help.c
View file @
c4a7e5dd
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.6
4 2002/12/11 22:45:13
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.6
5 2002/12/11 23:03:45
momjian Exp $
*/
#include "postgres_fe.h"
#include "common.h"
...
...
@@ -191,13 +191,16 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\\
g [FILE] send query buffer to server (and results to file or |pipe)
\n
"
));
fprintf
(
output
,
_
(
"
\\
r reset (clear) the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
e [FILE] edit the query buffer (or file) with external editor
\n
"
));
fprintf
(
output
,
_
(
"
\\
i FILE execute commands from file
\n
"
));
fprintf
(
output
,
_
(
"
\\
p show the contents of the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
w [FILE] write query buffer to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
o FILE send all query results to file or |pipe
\n
"
));
fprintf
(
output
,
_
(
"
\\
s [FILE] display history or save it to file
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"I/O Redirection
\n
"
));
fprintf
(
output
,
_
(
"
\\
i FILE execute commands from file
\n
"
));
fprintf
(
output
,
_
(
"
\\
o FILE send all query results to file or |pipe
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"Informational
\n
"
));
fprintf
(
output
,
_
(
"
\\
d [NAME] describe table, index, sequence, or view
\n
"
));
fprintf
(
output
,
_
(
"
\\
d{t|i|s|v|S} [PATTERN] (add
\"
+
\"
for more detail)
\n
"
...
...
@@ -236,12 +239,10 @@ slashUsage(unsigned short int pager)
ON
(
pset
.
popt
.
topt
.
tuples_only
));
fprintf
(
output
,
_
(
"
\\
echo [STRING] write string to standard output
\n
"
));
fprintf
(
output
,
_
(
"
\\
qecho [STRING] write string to query output stream (see
\\
o)
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"HTML Output
\n
"
));
fprintf
(
output
,
_
(
"
\\
H toggle HTML output mode (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
format
==
PRINT_HTML
));
fprintf
(
output
,
_
(
"
\\
T [STRING] set HTML <table> tag attributes, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
if
(
output
!=
stdout
)
{
...
...
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