Add ALTER EXTENSION ADD/DROP ACCESS METHOD, and use it in pg_upgrade.
Without this, an extension containing an access method is not properly
dumped/restored during pg_upgrade --- the AM ends up not being a member
of the extension after upgrading.
Another oversight in commit 473b93287, reported by Andrew Dunstan.
Report: <f7ac29f3-515c-2a44-21c5-ec925053265f(at)dunslane(dot)net>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/e8bdee2770ff52aab208bc6f8965a4a01979d0aa
Modified Files
--------------
doc/src/sgml/ref/alter_extension.sgml | 1 +
src/backend/parser/gram.y | 11 ++++++++++-
src/bin/pg_dump/pg_dump.c | 3 +++
3 files changed, 14 insertions(+), 1 deletion(-)