projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f3752
)
Make psql \dT always show descriptions. There is room.
author
Bruce Momjian
<bruce@momjian.us>
Fri, 31 Dec 1999 21:06:19 +0000
(21:06 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 31 Dec 1999 21:06:19 +0000
(21:06 +0000)
src/bin/psql/describe.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/describe.c
b/src/bin/psql/describe.c
index 882e95e648c8da36e6ef8fb9784d076f398a0463..56e425d2656b6c6a854c395f3236a4ab19d03af1 100644
(file)
--- 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)