diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-12-31 21:06:19 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-12-31 21:06:19 +0000 |
commit | eb9bb3de33af5dcb5c2696c9005a42d7f7f9f62e (patch) | |
tree | d393376466417965ffdd7c47e79a3d867f6ad0c1 | |
parent | d8f3752133d53cf4fe0d8040fc08dd033c02a222 (diff) |
Make psql \dT always show descriptions. There is room.
-rw-r--r-- | src/bin/psql/describe.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 882e95e648c..56e425d2656 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -175,8 +175,11 @@ describeTypes(const char *name, PsqlSettings *pset, bool verbose, bool desc) ",\n (CASE WHEN t.typlen=-1 THEN 'var'::text ELSE t.typlen::text END) as \"Length\"" ",\n u.usename as \"Owner\"" ); - if (desc) - strcat(buf, ",\n obj_description(t.oid) as \"Description\""); + /* + * Let's always show descriptions for this. There is room. + * bjm 1999/12/31 + */ + strcat(buf, ",\n obj_description(t.oid) as \"Description\""); /* * do not include array types (start with underscore), * do not include user relations (typrelid!=0) |