Skip to content
Snippets Groups Projects
Commit eb9bb3de authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Make psql \dT always show descriptions. There is room.

parent d8f37521
Branches
Tags
No related merge requests found
......@@ -175,7 +175,10 @@ 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)
/*
* 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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment