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
3084a8ae
Commit
3084a8ae
authored
Jan 07, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spaces around psql \d* columns, per idea from Joshua Drake.
parent
82c96623
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
31 deletions
+31
-31
src/bin/psql/help.c
src/bin/psql/help.c
+31
-31
No files found.
src/bin/psql/help.c
View file @
3084a8ae
...
...
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.13
6 2009/01/06 23:09:56
momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.13
7 2009/01/07 00:05:28
momjian Exp $
*/
#include "postgres_fe.h"
...
...
@@ -195,36 +195,36 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"Informational
\n
"
));
fprintf
(
output
,
_
(
" Modifiers: S = show system objects + = Additional detail
\n
"
));
fprintf
(
output
,
_
(
"
\\
l[+] list all databases
\n
"
));
fprintf
(
output
,
_
(
"
\\
d[S+] list tables, views, and sequences
\n
"
));
fprintf
(
output
,
_
(
"
\\
d[S+]
NAME
describe table, view, sequence, or index
\n
"
));
fprintf
(
output
,
_
(
"
\\
da[S]
[PATTERN]
list aggregate functions
\n
"
));
fprintf
(
output
,
_
(
"
\\
db[+]
[PATTERN]
list tablespaces
\n
"
));
fprintf
(
output
,
_
(
"
\\
dc[S]
[PATTERN]
list conversions
\n
"
));
fprintf
(
output
,
_
(
"
\\
dC
[PATTERN]
list casts
\n
"
));
fprintf
(
output
,
_
(
"
\\
dd
[PATTERN]
show comment for object
\n
"
));
fprintf
(
output
,
_
(
"
\\
dd[S]
[PATTERN]
list comments on objects
\n
"
));
fprintf
(
output
,
_
(
"
\\
dD[S]
[PATTERN]
list domains
\n
"
));
fprintf
(
output
,
_
(
"
\\
des[+] [PATTERN] list foreign servers
\n
"
));
fprintf
(
output
,
_
(
"
\\
deu[+] [PATTERN] list user mappings
\n
"
));
fprintf
(
output
,
_
(
"
\\
dew[+] [PATTERN] list foreign-data wrappers
\n
"
));
fprintf
(
output
,
_
(
"
\\
df[S+] [PATTERN] list functions
\n
"
));
fprintf
(
output
,
_
(
"
\\
dF[+]
[PATTERN]
list text search configurations
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFd[+] [PATTERN] list text search dictionaries
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFp[+] [PATTERN] list text search parsers
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFt[+] [PATTERN] list text search templates
\n
"
));
fprintf
(
output
,
_
(
"
\\
dg
[PATTERN]
list roles (groups)
\n
"
));
fprintf
(
output
,
_
(
"
\\
di[S+] [PATTERN] list indexes
\n
"
));
fprintf
(
output
,
_
(
"
\\
dl list large objects, same as
\\
lo_list
\n
"
));
fprintf
(
output
,
_
(
"
\\
dn[+]
[PATTERN]
list schemas
\n
"
));
fprintf
(
output
,
_
(
"
\\
do[S]
[PATTERN]
list operators
\n
"
));
fprintf
(
output
,
_
(
"
\\
dp
[PATTERN]
list table, view, and sequence access privileges
\n
"
));
fprintf
(
output
,
_
(
"
\\
z
[PATTERN]
same as
\\
dp
\n
"
));
fprintf
(
output
,
_
(
"
\\
ds[S+] [PATTERN] list sequences
\n
"
));
fprintf
(
output
,
_
(
"
\\
dt[S+] [PATTERN] list tables
\n
"
));
fprintf
(
output
,
_
(
"
\\
dT[S+] [PATTERN] list data types
\n
"
));
fprintf
(
output
,
_
(
"
\\
du
[PATTERN]
list roles (users)
\n
"
));
fprintf
(
output
,
_
(
"
\\
dv[S+] [PATTERN] list views
\n
"
));
fprintf
(
output
,
_
(
"
\\
l[+]
list all databases
\n
"
));
fprintf
(
output
,
_
(
"
\\
d[S+]
list tables, views, and sequences
\n
"
));
fprintf
(
output
,
_
(
"
\\
d[S+]
NAME
describe table, view, sequence, or index
\n
"
));
fprintf
(
output
,
_
(
"
\\
da[S]
[PATTERN]
list aggregate functions
\n
"
));
fprintf
(
output
,
_
(
"
\\
db[+]
[PATTERN]
list tablespaces
\n
"
));
fprintf
(
output
,
_
(
"
\\
dc[S]
[PATTERN]
list conversions
\n
"
));
fprintf
(
output
,
_
(
"
\\
dC
[PATTERN]
list casts
\n
"
));
fprintf
(
output
,
_
(
"
\\
dd
[PATTERN]
show comment for object
\n
"
));
fprintf
(
output
,
_
(
"
\\
dd[S]
[PATTERN]
list comments on objects
\n
"
));
fprintf
(
output
,
_
(
"
\\
dD[S]
[PATTERN]
list domains
\n
"
));
fprintf
(
output
,
_
(
"
\\
des[+]
[PATTERN] list foreign servers
\n
"
));
fprintf
(
output
,
_
(
"
\\
deu[+]
[PATTERN] list user mappings
\n
"
));
fprintf
(
output
,
_
(
"
\\
dew[+]
[PATTERN] list foreign-data wrappers
\n
"
));
fprintf
(
output
,
_
(
"
\\
df[S+]
[PATTERN] list functions
\n
"
));
fprintf
(
output
,
_
(
"
\\
dF[+]
[PATTERN]
list text search configurations
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFd[+]
[PATTERN] list text search dictionaries
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFp[+]
[PATTERN] list text search parsers
\n
"
));
fprintf
(
output
,
_
(
"
\\
dFt[+]
[PATTERN] list text search templates
\n
"
));
fprintf
(
output
,
_
(
"
\\
dg
[PATTERN]
list roles (groups)
\n
"
));
fprintf
(
output
,
_
(
"
\\
di[S+]
[PATTERN] list indexes
\n
"
));
fprintf
(
output
,
_
(
"
\\
dl
list large objects, same as
\\
lo_list
\n
"
));
fprintf
(
output
,
_
(
"
\\
dn[+]
[PATTERN]
list schemas
\n
"
));
fprintf
(
output
,
_
(
"
\\
do[S]
[PATTERN]
list operators
\n
"
));
fprintf
(
output
,
_
(
"
\\
dp
[PATTERN]
list table, view, and sequence access privileges
\n
"
));
fprintf
(
output
,
_
(
"
\\
z
[PATTERN]
same as
\\
dp
\n
"
));
fprintf
(
output
,
_
(
"
\\
ds[S+]
[PATTERN] list sequences
\n
"
));
fprintf
(
output
,
_
(
"
\\
dt[S+]
[PATTERN] list tables
\n
"
));
fprintf
(
output
,
_
(
"
\\
dT[S+]
[PATTERN] list data types
\n
"
));
fprintf
(
output
,
_
(
"
\\
du
[PATTERN]
list roles (users)
\n
"
));
fprintf
(
output
,
_
(
"
\\
dv[S+]
[PATTERN] list views
\n
"
));
fprintf
(
output
,
"
\n
"
);
fprintf
(
output
,
_
(
"Formatting
\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