From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Complete tab completion for DROP STATISTICS |
Date: | 2017-05-13 04:17:18 |
Message-ID: | E1d9OUY-00030P-VM@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2017-05-13 06:50:18 | pgsql: Use a better way of skipping all subscription tests on Windows |
Previous Message | Tom Lane | 2017-05-12 23:05:40 | pgsql: Avoid searching for callback functions in CallSyscacheCallbacks( |