Complete tab completion for DROP STATISTICS
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +9 −0 |
| src/backend/catalog/namespace.c | modified | +78 −0 |
| src/backend/utils/cache/lsyscache.c | modified | +1 −0 |
| src/bin/psql/tab-complete.c | modified | +1 −1 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/namespace.h | modified | +3 −1 |
| src/include/catalog/pg_proc.h | modified | +2 −0 |
Documentation touched
Discussion
- WITH clause in CREATE STATISTICS 46 messages · 2017-04-20 → 2017-05-13