pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add ALTER EXTENSION ADD/DROP ACCESS METHOD, and use it in pg_upg
Date: Sun, 02 Oct 2016 18:31:33 +0000
Message-ID: <E1bqlXx-0003LD-Ts@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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>

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f40334b85cf89f1eafd04d31665704fd173e317c

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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)

Message-ID: <E1bqlXx-0003LD-Ts@gemulon.postgresql.org>
Permalink:  ../E1bqlXx-0003LD-Ts@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bqlXx-0003LD-Ts@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add ALTER EXTENSION ADD/DROP ACCESS METHOD, and use it in pg_upg
  In-Reply-To: <E1bqlXx-0003LD-Ts@gemulon.postgresql.org>
  References: <E1bqlXx-0003LD-Ts@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox