0001-dA-to-show-Table-type-access-method.patch
application/octet-stream
Filename: 0001-dA-to-show-Table-type-access-method.patch
Type: application/octet-stream
Part: 0
Patch
Format: format-patch
Series: patch 0001
Subject: \dA to show Table type access method
| File | + | − |
|---|---|---|
| src/bin/psql/describe.c | 2 | 0 |
From 2d2255f5597c6be2b841b8b11515e1a4dbc5f730 Mon Sep 17 00:00:00 2001
From: Hari Babu <kommi.haribabu@gmail.com>
Date: Thu, 21 Mar 2019 16:06:55 +1100
Subject: [PATCH] \dA to show Table type access method
---
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 779e48437c..cf302241fc 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)
--
2.20.1.windows.1