mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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:
@ -381,7 +381,7 @@ exec_command(const char *cmd,
|
||||
success = listConversions(pattern, show_system);
|
||||
break;
|
||||
case 'C':
|
||||
success = listCasts(pattern);
|
||||
success = listCasts(pattern, show_verbose);
|
||||
break;
|
||||
case 'd':
|
||||
if (strncmp(cmd, "ddp", 3) == 0)
|
||||
|
Reference in New Issue
Block a user