Add missing translate_columns array entry
authorAlvaro Herrera
Tue, 7 Jun 2016 22:03:31 +0000 (18:03 -0400)
committerAlvaro Herrera
Tue, 7 Jun 2016 22:03:31 +0000 (18:03 -0400)
This omission caused an assertion error in \dA+.

src/bin/psql/describe.c

index 2a05cf95dabfb601b75641f19305d313d3521624..2cdc5acf30264355c2d5784eca1c8bd9529e3141 100644 (file)
@@ -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)
    {