pg_upgrade in 9.5 broken for adminpack

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_upgrade in 9.5 broken for adminpack
Date: 2015-04-17 02:33:50
Message-ID: CAMkU=1wpN66YKnUVgmu=kCqc3huyWDU0F37zJ+zRFFAr=yWL2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pg_upgrade was recently broken for use upgrading from a system with
adminpack installed.

Breaking commit is:

commit 30982be4e5019684e1772dd9170aaa53f5a8e894
Author: Peter Eisentraut <peter_e(at)gmx(dot)net>

Integrate pg_upgrade_support module into backend

from pg_upgrade_dump_12870.log

pg_restore: creating EXTENSION "adminpack"
pg_restore: creating COMMENT "EXTENSION "adminpack""
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 2806; 0 0 COMMENT
EXTENSION "adminpack"
pg_restore: [archiver (db)] could not execute query: ERROR: extension
"adminpack" does not exist
Command was: COMMENT ON EXTENSION "adminpack" IS 'administrative
functions for PostgreSQL';

I get the same error whether the source database is 9.2.10 or 9.5.HEAD.

Cheers,

Jeff

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2015-04-17 02:37:56 Re: pg_upgrade in 9.5 broken for adminpack
Previous Message Amit Langote 2015-04-17 01:23:02 Re: Optimization for updating foreign tables in Postgres FDW