Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
145bae27
Commit
145bae27
authored
27 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
pg_description cleanup.
parent
5071ae29
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/bin/psql/psql.c
+3
-3
3 additions, 3 deletions
src/bin/psql/psql.c
src/man/psql.1
+2
-2
2 additions, 2 deletions
src/man/psql.1
with
5 additions
and
5 deletions
src/bin/psql/psql.c
+
3
−
3
View file @
145bae27
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.10
2
1997/11/13 03:
22:42
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.10
3
1997/11/13 03:
36:30
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -225,7 +225,7 @@ slashUsage(PsqlSettings *pset)
...
@@ -225,7 +225,7 @@ slashUsage(PsqlSettings *pset)
fprintf
(
fout
,
"
\\
connect <dbname|-> <user> -- connect to new database (currently '%s')
\n
"
,
PQdb
(
pset
->
db
));
fprintf
(
fout
,
"
\\
connect <dbname|-> <user> -- connect to new database (currently '%s')
\n
"
,
PQdb
(
pset
->
db
));
fprintf
(
fout
,
"
\\
copy table {from | to} <fname>
\n
"
);
fprintf
(
fout
,
"
\\
copy table {from | to} <fname>
\n
"
);
fprintf
(
fout
,
"
\\
d [<table>] -- list tables and indices in database or columns in <table>, * for all
\n
"
);
fprintf
(
fout
,
"
\\
d [<table>] -- list tables and indices in database or columns in <table>, * for all
\n
"
);
fprintf
(
fout
,
"
\\
d
c
[<object>]- list comment for table, field, type, function, or operator.
\n
"
);
fprintf
(
fout
,
"
\\
d
d
[<object>]- list comment for table, field, type, function, or operator.
\n
"
);
fprintf
(
fout
,
"
\\
di -- list only indices in database
\n
"
);
fprintf
(
fout
,
"
\\
di -- list only indices in database
\n
"
);
fprintf
(
fout
,
"
\\
ds -- list only sequences in database
\n
"
);
fprintf
(
fout
,
"
\\
ds -- list only sequences in database
\n
"
);
fprintf
(
fout
,
"
\\
dt -- list only tables in database
\n
"
);
fprintf
(
fout
,
"
\\
dt -- list only tables in database
\n
"
);
...
@@ -1698,7 +1698,7 @@ HandleSlashCmds(PsqlSettings *pset,
...
@@ -1698,7 +1698,7 @@ HandleSlashCmds(PsqlSettings *pset,
break
;
break
;
case
'd'
:
/* \d describe tables or columns in a
case
'd'
:
/* \d describe tables or columns in a
* table */
* table */
if
(
strncmp
(
cmd
,
"d
c
"
,
2
)
==
0
)
if
(
strncmp
(
cmd
,
"d
d
"
,
2
)
==
0
)
/* descriptions */
/* descriptions */
objectDescription
(
pset
,
optarg
+
1
,
NULL
);
objectDescription
(
pset
,
optarg
+
1
,
NULL
);
else
if
(
strncmp
(
cmd
,
"di"
,
2
)
==
0
)
else
if
(
strncmp
(
cmd
,
"di"
,
2
)
==
0
)
...
...
This diff is collapsed.
Click to expand it.
src/man/psql.1
+
2
−
2
View file @
145bae27
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.1
3
1997/11/13 03:
23:18
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.1
4
1997/11/13 03:
36:42
momjian Exp $
.TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL
.TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
psql \(em run the interactive query front-end
psql \(em run the interactive query front-end
...
@@ -292,7 +292,7 @@ is specified, list the columns in
...
@@ -292,7 +292,7 @@ is specified, list the columns in
If table name is
If table name is
.IR *,
.IR *,
list all tables and column information for each tables.
list all tables and column information for each tables.
.IP "\ed
c
object"
.IP "\ed
d
object"
List the description of the table, table.column, type, operator, or aggregate.
List the description of the table, table.column, type, operator, or aggregate.
.IP "\edi"
.IP "\edi"
List only indexes.
List only indexes.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment