From d3a5fc17ebdbeaec81bec1f41e304485b3292da3 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 29 Mar 2019 08:59:40 -0700 Subject: [PATCH] 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 --- src/bin/psql/describe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 8129e3ccbf..2f8a4d752a 100644 --- 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)