postgres.git / summary / log / commit / refs
commit 8b3746208ce2a2a2bb057dec09cf09a0c783d91b
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Tue Jun 07 22:03:31 2016 +0000
Add missing translate_columns array entry
This omission caused an assertion error in \dA+.
src/bin/psql/describe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
index 2a05cf95dab..2cdc5acf302 100644
--- a/src/bin/psql/describe.c
+++ b/src/bin/psql/describe.c
@@ -138,7 +138,7 @@ describeAccessMethods(const char *pattern, bool verbose)
PQExpBufferData buf;
PGresult *res;
printQueryOpt myopt = pset.popt;
- static const bool translate_columns[] = {false, true, false};
+ static const bool translate_columns[] = {false, true, false, false};
if (pset.sversion < 90600)
{
[parent: 4f04b66f97f0]