Complete tab completion for DROP STATISTICS
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 13 May 2017 04:05:48 +0000 (01:05 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 13 May 2017 04:05:48 +0000 (01:05 -0300)
commitd99d58cdc8c0b5b50ee92995e8575c100b1a458a
tree69410eae02097c010e21eb7972524a80538e87d5
parent2df5d465558b6f17c161cbbe246b050b453ec99c
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.1494557205@sss.pgh.pa.us
doc/src/sgml/func.sgml
src/backend/catalog/namespace.c
src/backend/utils/cache/lsyscache.c
src/bin/psql/tab-complete.c
src/include/catalog/catversion.h
src/include/catalog/namespace.h
src/include/catalog/pg_proc.h