diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-08-11 11:16:29 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-08-11 11:16:29 -0400 |
commit | 59414cdedbc2ed418d66eddc0fcaf9dc40fbc27f (patch) | |
tree | ee82dc4d88c058997b0af771e51f98c607661ee4 /src/bin/psql/help.c | |
parent | cff75130b5f63e45423c2ed90d6f2e84c21ef840 (diff) | |
download | postgresql-59414cdedbc2ed418d66eddc0fcaf9dc40fbc27f.tar.gz postgresql-59414cdedbc2ed418d66eddc0fcaf9dc40fbc27f.zip |
Change psql's \dd command to do something more useful.
Instead of displaying comments on an arbitrary subset of the object
types which support them, make \dd display comments on exactly those
object types which don't have their own backlash commands. We now
regard the display of comments as properly the job of the relevant
backslash command (though many of them do so only in verbose mode)
rather than something that \dd should be responsible for. However,
a handful of object types have no backlash command, so make \dd
give information about those.
Josh Kupershmidt
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index b99ba3acfb5..53e4cd0c0e2 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -197,7 +197,7 @@ slashUsage(unsigned short int pager) 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[S] [PATTERN] show comments on objects\n")); + fprintf(output, _(" \\dd[S] [PATTERN] show object descriptions not displayed elsewhere\n")); fprintf(output, _(" \\ddp [PATTERN] list default privileges\n")); fprintf(output, _(" \\dD[S+] [PATTERN] list domains\n")); fprintf(output, _(" \\det[+] [PATTERN] list foreign tables\n")); |