Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d3a5fc1

Browse files
committed
Show table access methods as such in psql's \dA.
Previously we didn't display a type for table access methods. Author: Haribabu Kommi Discussion: CAJrrPGeeYOqP3hkZyohDx_8dot4zvPuPMDBmhJ=iC85cTBNeYw@mail.gmail.com
1 parent ffa8444 commit d3a5fc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/psql/describe.c

+2
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,11 @@ describeAccessMethods(const char *pattern, bool verbose)
169169
"SELECT amname AS \"%s\",\n"
170170
" CASE amtype"
171171
" WHEN 'i' THEN '%s'"
172+
" WHEN 't' THEN '%s'"
172173
" END AS \"%s\"",
173174
gettext_noop("Name"),
174175
gettext_noop("Index"),
176+
gettext_noop("Table"),
175177
gettext_noop("Type"));
176178

177179
if (verbose)

0 commit comments

Comments
 (0)