diff options
| author | Robert Haas <rhaas@postgresql.org> | 2011-08-04 12:22:26 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2011-08-04 12:22:26 -0400 |
| commit | 3b17efdfdd846c9bfad1637686e6f18198ea3df5 (patch) | |
| tree | 4f2b8d5c9f4b9c84bc12e6ee8a0ff7e77f6695c0 /src/bin/psql/command.c | |
| parent | 38de5aad54b3eb37981cacd391fcde82f86d00fb (diff) | |
| download | postgresql-3b17efdfdd846c9bfad1637686e6f18198ea3df5.tar.gz | |
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
Diffstat (limited to 'src/bin/psql/command.c')
| -rw-r--r-- | src/bin/psql/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 3608b72596..84e031dd53 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -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) |
