pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: James Sewell <james.sewell@jirotech.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Upgrade 96 -> 11
Date: Tue, 3 Sep 2019 12:47:35 -0700
Message-ID: <e06c290c-d6a3-73f6-4740-cc0260c79433@aklaver.com> (raw)
In-Reply-To: <8e2ba725-44aa-9ecc-c296-762a14107af3@aklaver.com>
References: <CAANVwEtAAN=1gY+QUVidpcO_mr87kne8=ovQciKRjxxwV7EEjg@mail.gmail.com>
	<5fcbcde1-8807-17ee-029f-c99f924e024e@aklaver.com>
	<CAANVwEuMsgNo2Ck8NWN4Q4vFk11tBYtNz4BBk82+YpguY1p1-A@mail.gmail.com>
	<423c7cba-b20d-1b3e-c662-be50fe2fe95a@aklaver.com>
	<CAANVwEtj+v3OBt3PPniA2L-1c3MEo4rfM2cRukpZF7GFriX9Hw@mail.gmail.com>
	<71c0662a-e9d0-c4d6-4704-61d5ec1f37df@aklaver.com>
	<CAANVwEs+H2Po3xArSLzLUiFWn4FbTqS5U0xv5KLyu7m3XOG5Tw@mail.gmail.com>
	<ba89d093-8017-3819-605b-38dd55ddb493@aklaver.com>
	<CAANVwEvJUii=L_KOTARqt9BKcFoY2TXsghEP4qonTi7+Qd00fw@mail.gmail.com>
	<77f0cd56-c500-eb2a-40b7-22c2d27c83d2@aklaver.com>
	<CAANVwEsLrvU9Xp23rRkhAG8HecdHawEwrexaxbd14RQL-8Nz+w@mail.gmail.com>
	<30cab4c4-7884-fb59-2b73-71a3bbf289a5@aklaver.com>
	<CAANVwEvK5bsMiko+2pgzVC2Kx3oFT4nMcxeirf7hx9arXoiwxA@mail.gmail.com>
	<8e2ba725-44aa-9ecc-c296-762a14107af3@aklaver.com>

On 9/2/19 5:52 PM, Adrian Klaver wrote:

>> It's still creating the schema elements when it fails, it hasn't 
>> started linking yet
> 
> Alright at least you still a working 9.6 cluster .
> 
> Not sure where to go from here. Like you I am not sure how it can CREATE 
> EXTENSION and not actually follow through on that. Especially with no 
> errors for that operation. I'm going to have to think on this. Hopefully 
> someone else has an idea on this and can chime in.

Aah. I don't have postgis installed, still:

pg_dump --binary-upgrade -s  -d production -U postgres > 
production_binary.sql

-- For binary upgrade, create an empty extension and insert objects into it
DROP EXTENSION IF EXISTS tablefunc;
SELECT pg_catalog.binary_upgrade_create_empty_extension('tablefunc', 
'public', true, '1.0', NULL, NULL, ARRAY[]::pg_catalog.text[]);


Try the above on your schema and see what you get.


> 
>>
>>      >
>>      > I have set PGBINOLD, PGBINNEW, PGDATAOLD, PGDATANEW correctly.
>>     

-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (16+ messages)  latest in thread

Message-ID: <e06c290c-d6a3-73f6-4740-cc0260c79433@aklaver.com>
Permalink:  ../e06c290c-d6a3-73f6-4740-cc0260c79433@aklaver.com/
Also on:    postgresql.org/message-id/e06c290c-d6a3-73f6-4740-cc0260c79433@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, james.sewell@jirotech.com
  Subject: Re: Upgrade 96 -> 11
  In-Reply-To: <e06c290c-d6a3-73f6-4740-cc0260c79433@aklaver.com>
  References: <CAANVwEtAAN=1gY+QUVidpcO_mr87kne8=ovQciKRjxxwV7EEjg@mail.gmail.com> <5fcbcde1-8807-17ee-029f-c99f924e024e@aklaver.com> <CAANVwEuMsgNo2Ck8NWN4Q4vFk11tBYtNz4BBk82+YpguY1p1-A@mail.gmail.com> <423c7cba-b20d-1b3e-c662-be50fe2fe95a@aklaver.com> <CAANVwEtj+v3OBt3PPniA2L-1c3MEo4rfM2cRukpZF7GFriX9Hw@mail.gmail.com> <71c0662a-e9d0-c4d6-4704-61d5ec1f37df@aklaver.com> <CAANVwEs+H2Po3xArSLzLUiFWn4FbTqS5U0xv5KLyu7m3XOG5Tw@mail.gmail.com> <ba89d093-8017-3819-605b-38dd55ddb493@aklaver.com> <CAANVwEvJUii=L_KOTARqt9BKcFoY2TXsghEP4qonTi7+Qd00fw@mail.gmail.com> <77f0cd56-c500-eb2a-40b7-22c2d27c83d2@aklaver.com> <CAANVwEsLrvU9Xp23rRkhAG8HecdHawEwrexaxbd14RQL-8Nz+w@mail.gmail.com> <30cab4c4-7884-fb59-2b73-71a3bbf289a5@aklaver.com> <CAANVwEvK5bsMiko+2pgzVC2Kx3oFT4nMcxeirf7hx9arXoiwxA@mail.gmail.com> <8e2ba725-44aa-9ecc-c296-762a14107af3@aklaver.com> <e06c290c-d6a3-73f6-4740-cc0260c79433@aklaver.com>

* 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