mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Teach psql to display the comments on conversions and domains.
\dc and \dD now accept a "+" option, which will cause the comments to
be displayed. Along the way, correct a few oversights in the previous
commit in this area, 3b17efdfdd
- namely,
(1) when \dL+ is used, make description still be the last column, for
consistency with what we've done elsewhere; and (2) document the
difference between \dC and \dC+.
Josh Kupershmidt, with a couple of doc changes by me.
This commit is contained in:
@ -195,11 +195,11 @@ slashUsage(unsigned short int pager)
|
||||
fprintf(output, _(" \\d[S+] NAME describe table, view, sequence, or index\n"));
|
||||
fprintf(output, _(" \\da[S] [PATTERN] list aggregates\n"));
|
||||
fprintf(output, _(" \\db[+] [PATTERN] list tablespaces\n"));
|
||||
fprintf(output, _(" \\dc[S] [PATTERN] list conversions\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, _(" \\ddp [PATTERN] list default privileges\n"));
|
||||
fprintf(output, _(" \\dD[S] [PATTERN] list domains\n"));
|
||||
fprintf(output, _(" \\dD[S+] [PATTERN] list domains\n"));
|
||||
fprintf(output, _(" \\det[+] [PATTERN] list foreign tables\n"));
|
||||
fprintf(output, _(" \\des[+] [PATTERN] list foreign servers\n"));
|
||||
fprintf(output, _(" \\deu[+] [PATTERN] list user mappings\n"));
|
||||
|
Reference in New Issue
Block a user