Fix loose ends for SQL ACCESS METHOD objects

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 4f04b66f97f0e0265489f0fe0373ea44c9ad11bf
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2016-06-07T21:59:34Z
Releases: 9.6.0
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

Files

PathChange+/−
contrib/bloom/bloom--1.0.sql modified +1 −0
doc/src/sgml/ref/comment.sgml modified +4 −0
doc/src/sgml/ref/psql-ref.sgml modified +13 −0
src/backend/parser/gram.y modified +5 −3
src/bin/psql/command.c modified +3 −0
src/bin/psql/describe.c modified +64 −0
src/bin/psql/describe.h modified +3 −0
src/bin/psql/help.c modified +1 −0
src/bin/psql/tab-complete.c modified +13 −2

Documentation touched

Discussion