Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb9bb3d

Browse files
committed
Make psql \dT always show descriptions. There is room.
1 parentd8f3752 commiteb9bb3d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/bin/psql/describe.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,11 @@ describeTypes(const char *name, PsqlSettings *pset, bool verbose, bool desc)
175175
",\n (CASE WHEN t.typlen=-1 THEN 'var'::text ELSE t.typlen::text END) as \"Length\""
176176
",\n u.usename as \"Owner\""
177177
);
178-
if (desc)
179-
strcat(buf,",\n obj_description(t.oid) as \"Description\"");
178+
/*
179+
*Let's always show descriptions for this. There is room.
180+
*bjm 1999/12/31
181+
*/
182+
strcat(buf,",\n obj_description(t.oid) as \"Description\"");
180183
/*
181184
* do not include array types (start with underscore),
182185
* do not include user relations (typrelid!=0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp