projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa8444
)
Show table access methods as such in psql's \dA.
author
Andres Freund
<
[email protected]
>
Fri, 29 Mar 2019 15:59:40 +0000
(08:59 -0700)
committer
Andres Freund
<
[email protected]
>
Fri, 29 Mar 2019 15:59:40 +0000
(08:59 -0700)
Previously we didn't display a type for table access methods.
Author: Haribabu Kommi
Discussion: CAJrrPGeeYOqP3hkZyohDx_8dot4zvPuPMDBmhJ=iC85cTBNeYw@mail.gmail.com
src/bin/psql/describe.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/describe.c
b/src/bin/psql/describe.c
index 8129e3ccbf5c49624abca38c8c2259af31725f57..2f8a4d752ab7c4f7ef201503a083d72e9250dc4e 100644
(file)
--- a/
src/bin/psql/describe.c
+++ b/
src/bin/psql/describe.c
@@
-169,9
+169,11
@@
describeAccessMethods(const char *pattern, bool verbose)
"SELECT amname AS \"%s\",\n"
" CASE amtype"
" WHEN 'i' THEN '%s'"
+ " WHEN 't' THEN '%s'"
" END AS \"%s\"",
gettext_noop("Name"),
gettext_noop("Index"),
+ gettext_noop("Table"),
gettext_noop("Type"));
if (verbose)