Commit d3a5fc17 authored by Andres Freund's avatar Andres Freund

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
parent ffa8444c
...@@ -169,9 +169,11 @@ describeAccessMethods(const char *pattern, bool verbose) ...@@ -169,9 +169,11 @@ describeAccessMethods(const char *pattern, bool verbose)
"SELECT amname AS \"%s\",\n" "SELECT amname AS \"%s\",\n"
" CASE amtype" " CASE amtype"
" WHEN 'i' THEN '%s'" " WHEN 'i' THEN '%s'"
" WHEN 't' THEN '%s'"
" END AS \"%s\"", " END AS \"%s\"",
gettext_noop("Name"), gettext_noop("Name"),
gettext_noop("Index"), gettext_noop("Index"),
gettext_noop("Table"),
gettext_noop("Type")); gettext_noop("Type"));
if (verbose) if (verbose)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment