summaryrefslogtreecommitdiff
path: root/src/bin/psql/describe.h
diff options
context:
space:
mode:
authorAlvaro Herrera2016-06-07 21:59:34 +0000
committerAlvaro Herrera2016-06-07 21:59:34 +0000
commit4f04b66f97f0e0265489f0fe0373ea44c9ad11bf (patch)
treeca0082bb0011ef27c5f483f5088e2eadadaea4a6 /src/bin/psql/describe.h
parent77ba610805e7ef9ba9c9a593ea8b1ca8f98f8bcb (diff)
Fix loose ends for SQL ACCESS METHOD objects
COMMENT ON ACCESS METHOD was missing; add it, along psql tab-completion support for it. psql was also missing a way to list existing access methods; the new \dA command does that. Also add tab-completion support for DROP ACCESS METHOD. Author: Michael Paquier Discussion: https://www.postgresql.org/message-id/CAB7nPqTzdZdu8J7EF8SXr_R2U5bSUUYNOT3oAWBZdEoggnwhGA@mail.gmail.com
Diffstat (limited to 'src/bin/psql/describe.h')
-rw-r--r--src/bin/psql/describe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/psql/describe.h b/src/bin/psql/describe.h
index 96722756b46..20a650861b6 100644
--- a/src/bin/psql/describe.h
+++ b/src/bin/psql/describe.h
@@ -12,6 +12,9 @@
/* \da */
extern bool describeAggregates(const char *pattern, bool verbose, bool showSystem);
+/* \dA */
+extern bool describeAccessMethods(const char *pattern, bool verbose);
+
/* \db */
extern bool describeTablespaces(const char *pattern, bool verbose);