aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-07 17:59:34 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-07 17:59:34 -0400
commit4f04b66f97f0e0265489f0fe0373ea44c9ad11bf (patch)
treeca0082bb0011ef27c5f483f5088e2eadadaea4a6 /src/bin/psql/help.c
parent77ba610805e7ef9ba9c9a593ea8b1ca8f98f8bcb (diff)
downloadpostgresql-4f04b66f97f0e0265489f0fe0373ea44c9ad11bf.tar.gz
postgresql-4f04b66f97f0e0265489f0fe0373ea44c9ad11bf.zip
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/help.c')
-rw-r--r--src/bin/psql/help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index b4021417863..0d0461dc2a7 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -215,6 +215,7 @@ slashUsage(unsigned short int pager)
fprintf(output, _(" \\d[S+] list tables, views, and sequences\n"));
fprintf(output, _(" \\d[S+] NAME describe table, view, sequence, or index\n"));
fprintf(output, _(" \\da[S] [PATTERN] list aggregates\n"));
+ fprintf(output, _(" \\dA[+] [PATTERN] list access methods\n"));
fprintf(output, _(" \\db[+] [PATTERN] list tablespaces\n"));
fprintf(output, _(" \\dc[S+] [PATTERN] list conversions\n"));
fprintf(output, _(" \\dC[+] [PATTERN] list casts\n"));