mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
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
This commit is contained in:
1
src/backend/utils/cache/lsyscache.c
vendored
1
src/backend/utils/cache/lsyscache.c
vendored
@ -32,6 +32,7 @@
|
||||
#include "catalog/pg_proc.h"
|
||||
#include "catalog/pg_range.h"
|
||||
#include "catalog/pg_statistic.h"
|
||||
#include "catalog/pg_statistic_ext.h"
|
||||
#include "catalog/pg_transform.h"
|
||||
#include "catalog/pg_type.h"
|
||||
#include "miscadmin.h"
|
||||
|
Reference in New Issue
Block a user