Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5EmH-0008IZ-8c for pgsql-general@arkaria.postgresql.org; Tue, 03 Sep 2019 19:47:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i5EmG-0000Gf-29 for pgsql-general@arkaria.postgresql.org; Tue, 03 Sep 2019 19:47:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5EmE-0000GX-GJ for pgsql-general@lists.postgresql.org; Tue, 03 Sep 2019 19:47:43 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i5EmA-00060v-Nc for pgsql-general@lists.postgresql.org; Tue, 03 Sep 2019 19:47:41 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9228021FBF; Tue, 3 Sep 2019 15:47:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 03 Sep 2019 15:47:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=v CHmkNmzfdatwLsjqaIPcgOQNEf9RAHx7sDKpMANC98=; b=R+QsWBBATdhOKIgfn 7YG/XNTBUuGkEEVudL2aJKzfcrYOpeqini8rYYb9R/cW7OR14iXSRLi2Fkvb1rH7 usgKXcyKpNv3CxyAXrRn9xtuGelFB+afBIlQz8ZLSufG4KJOXH4FjSmybjdPkNwO RQJH0MF9pGdlzSbkfjD80SZ9MJjWzBQshex9Fg7w3H2eFHdfYItpYvq2bDk3YPdt gLCSep9ThDjX51Z4fLLzuNmYdNlxjzbNX3w6QHrsse6c+6bGfmPJ3EkUPj2ca8ug 76inn3Zz8xC6gCsA0vaFL3yZcmxO8ZjcZmoOAI524gF1F3gIEvfkZUSrxrHan8LH /OFQg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=vCHmkNmzfdatwLsjqaIPcgOQNEf9RAHx7sDKpMANC 98=; b=Xu94tUfOwGTQI9DVRcIkQ66BLk7vLdTRKDShYfKP+g155b6dAHKSINdeM pQrcXAJv9kRnVXx3SFgiHahADzK8n0wlE644zdTOifCWNqflJVgiigbwzy9taOgU 3H9a7holBsEq8F1agde1UoTvje2EQN99mH48z6XeUvbKiB7dHK/Dgj9Htsh+YUe9 LjfYXLLTvDYFeqLbRmG25QpYQI5jw9Alu23zfa3evT6IBBKZweSYzjY2v5MmKNt6 eoU57IEpd8O8vuXrLk1F3EHnLBMqfWOM94BgI2szR6QJDfyB7DvE7FE06WApA+hn MMUjKMQ+Ri+8YBRkOD2/LymKZerQw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudejfedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhf rhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhush htvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 9412ED6005B; Tue, 3 Sep 2019 15:47:36 -0400 (EDT) Subject: Re: Upgrade 96 -> 11 To: James Sewell Cc: "pgsql-generallists.postgresql.org" References: <5fcbcde1-8807-17ee-029f-c99f924e024e@aklaver.com> <423c7cba-b20d-1b3e-c662-be50fe2fe95a@aklaver.com> <71c0662a-e9d0-c4d6-4704-61d5ec1f37df@aklaver.com> <77f0cd56-c500-eb2a-40b7-22c2d27c83d2@aklaver.com> <30cab4c4-7884-fb59-2b73-71a3bbf289a5@aklaver.com> <8e2ba725-44aa-9ecc-c296-762a14107af3@aklaver.com> From: Adrian Klaver Message-ID: Date: Tue, 3 Sep 2019 12:47:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <8e2ba725-44aa-9ecc-c296-762a14107af3@aklaver.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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