Complete tab completion for DROP STATISTICS Tab-completing DROP STATISTICS would only work if you started writing the schema name containing the statistics object, because the visibility clause was missing. To add it, we need to add SQL-callable support for testing visibility of a statistics object, like all other object types already have.
Discussion: https://postgr.es/m/22676.1494557...@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d99d58cdc8c0b5b50ee92995e8575c100b1a458a Modified Files -------------- doc/src/sgml/func.sgml | 9 +++++ src/backend/catalog/namespace.c | 78 +++++++++++++++++++++++++++++++++++++ src/backend/utils/cache/lsyscache.c | 1 + src/bin/psql/tab-complete.c | 2 +- src/include/catalog/catversion.h | 2 +- src/include/catalog/namespace.h | 4 +- src/include/catalog/pg_proc.h | 2 + 7 files changed, 95 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers