mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 14:36:57 +02:00
pg_description cleanup.
This commit is contained in:
parent
5071ae2972
commit
145bae2759
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.102 1997/11/13 03:22:42 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.103 1997/11/13 03:36:30 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -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, " \\dc [<object>]- list comment for table, field, type, function, or operator.\n");
|
fprintf(fout, " \\dd [<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,
|
|||||||
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, "dc", 2) == 0)
|
if (strncmp(cmd, "dd", 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)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.\" 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.13 1997/11/13 03:23:18 momjian Exp $
|
.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.14 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
|
|||||||
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 "\edc object"
|
.IP "\edd 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user