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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy