mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Teach psql to display comments on languages and casts.
The output of \dL (list languages) is fairly narrow, so we just always display the comment. \dC (list casts) can get fairly wide, so we only display comments if the new \dC+ option is specified. Josh Kupershmidt
This commit is contained in:
@ -196,7 +196,7 @@ slashUsage(unsigned short int pager)
|
||||
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 [PATTERN] list casts\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"));
|
||||
|
Reference in New Issue
Block a user