Done. Would you like to be the reviewer? Thanks!
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 0f9f497..a6dc599 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -3284,7 +3284,7 @@ listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSys " WHEN " CppAsString2(RELKIND_RELATION) " THEN '%s'" " WHEN " CppAsString2(RELKIND_VIEW) " THEN '%s'" " WHEN " CppAsString2(RELKIND_MATVIEW) " THEN '%s'" - " WHEN " CppAsString2(RELKIND_INDEX) " THEN '%s'" + " WHEN " CppAsString2(RELKIND_INDEX) " THEN %s" " WHEN " CppAsString2(RELKIND_SEQUENCE) " THEN '%s'" " WHEN 's' THEN '%s'" " WHEN " CppAsString2(RELKIND_FOREIGN_TABLE) " THEN '%s'" @@ -3296,7 +3296,7 @@ listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSys gettext_noop("table"), gettext_noop("view"), gettext_noop("materialized view"), - gettext_noop("index"), + gettext_noop("'index: '||(select amname from pg_am a where a.oid = c.relam)"), gettext_noop("sequence"), gettext_noop("special"), gettext_noop("foreign table"),
.
Fabien COELHO <coe...@cri.ensmp.fr> writes: >> I'm not sure where to add documentations about this patch or if needed one. >> Please help >> me if you think this patch is useful. > > This patch does not apply anymore. Are you planning to update it?
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers