]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add ALTER EXTENSION ADD/DROP ACCESS METHOD, and use it in pg_upgrade.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Oct 2016 18:31:28 +0000 (14:31 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Oct 2016 18:31:28 +0000 (14:31 -0400)
commitf40334b85cf89f1eafd04d31665704fd173e317c
tree7b6129aa5b00708ccd069fe3bbea9bb91f6db996
parent4677fe9fb0aa534b8611c29075fb57b3573612eb
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@dunslane.net>
doc/src/sgml/ref/alter_extension.sgml
src/backend/parser/gram.y
src/bin/pg_dump/pg_dump.c