mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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:
@ -378,7 +378,7 @@ exec_command(const char *cmd,
|
||||
success = describeTablespaces(pattern, show_verbose);
|
||||
break;
|
||||
case 'c':
|
||||
success = listConversions(pattern, show_system);
|
||||
success = listConversions(pattern, show_verbose, show_system);
|
||||
break;
|
||||
case 'C':
|
||||
success = listCasts(pattern, show_verbose);
|
||||
@ -390,7 +390,7 @@ exec_command(const char *cmd,
|
||||
success = objectDescription(pattern, show_system);
|
||||
break;
|
||||
case 'D':
|
||||
success = listDomains(pattern, show_system);
|
||||
success = listDomains(pattern, show_verbose, show_system);
|
||||
break;
|
||||
case 'f': /* function subsystem */
|
||||
switch (cmd[2])
|
||||
|
Reference in New Issue
Block a user