Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kO0Vx-0004FS-7e for pgsql-general@arkaria.postgresql.org; Thu, 01 Oct 2020 15:29:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kO0Vw-0004zO-6n for pgsql-general@arkaria.postgresql.org; Thu, 01 Oct 2020 15:29:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kO0Vv-0004zH-U8 for pgsql-general@lists.postgresql.org; Thu, 01 Oct 2020 15:28:59 +0000 Received: from mout.gmx.net ([212.227.15.15]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kO0Vt-0006mv-Jf for pgsql-general@lists.postgresql.org; Thu, 01 Oct 2020 15:28:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601566134; bh=QYrlHEtg1Dr4A2Y7rKP228CPVm2vH59+v7l1Czsmv8s=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=jnB6n9wVYivbsPZhhGvoe9owIH+g77nDkGppY3Udan8zlzHzrFI0eKfT5HjTQy3f0 Wn83WuwLDijpxI/ypNV8PwJcXMoXqy1e1c6ZXvlZDFIotebKG9Dpx9Japrkn6xuyVX AZ4ozbUeXg6emUP/vltQDe6bb7mkKWwYiBXr1M9U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.20] ([83.171.161.249]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3UUy-1kOYk8200I-000fjy for ; Thu, 01 Oct 2020 17:28:54 +0200 Subject: Re: pg_upgrade issue upgrading 10 -> 13 To: pgsql-general@lists.postgresql.org References: <918798A5-7ADF-4252-A2BF-E5639F45EC15@saminds.com> From: Thomas Kellerer Message-ID: Date: Thu, 1 Oct 2020 17:28:53 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <918798A5-7ADF-4252-A2BF-E5639F45EC15@saminds.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Q7jZK4YxGV2cuSZ6euxWRkAdMgQcyOflzXLQG4YhkKP0Nj0rasv bOhHvdod68xwlXA0w5H9SWhMV2h4xCr0UYHDTMtZ8F5VShl+YYS0fx+00cFKdVgsW7n1zR/ oxKUC+s/biAK332O6f0cNn2kCBJXzTZVL090e64tjAeSB7Of2FrjizGU7dFLFOoJ3rOXwX1 +6DzKgnFp9B7B1cSr/vYw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:F7esXq5FerQ=:FV8LNsiZp4B0QAAsOpKh8e MXFPCshnuhuHchVkMGCek7K02UiCJuwcbLOwbOtKV6lEFj5qh1iIb9easmZ9hA8Nv9WBqRCwi CZHfCN5dkFEViOmgGnYBtNsxu/M9mm/vXu0l3OXdn5DKcH3EEBYxDu40r15zfTI4eMrx5RVrc lhBOZCBWti6j3fxKrUCtXTAex1LKxEBrw5Q6mVbB45ZDJww/P76yRC2NqIIehba4BeCg1Imv8 2ViZlopA4IzslCCFLKG16/aKuRzdo53aleF83GAIQmih/l+rW//e1EvaGhllxuUcIoG3tCRRC sl6AfYUXNx+hm0gTLgu/iLbHGpiIaZeerrEmgTcnGfHIY10EAmMaKM84CzPvi56GDGTTz1u+9 zfyv7yC2oR9kBtxPrUQpWq5/gMoEdbh7XirHtFrl2u6QYKSU+wemF0YbtfK+OuaaGuglsA4+x h25CFG+HJqjCEx0Py+RPVNSavCUx4cMJkpNXyn9OICvhDFkvffxbgdPoYKSQGnQ39azgb1bKJ fbe8gxyhuh0PYrXbHGEmfAvv4c0qOj1mQIoaUVe30trr3UeCjnsZXHjzsn0uXjU6acr+jZ4+z KQaAALdwJcuwhUawkx7vUnyceAeHueEeAEFFMUyW4vdqITxhZ1XQeq6vivOjjJ2vGYp6J77ed zv2TOmmDAmIaepSNUuLFA2GAQOKrFykIsCiFVEa87n0KShKKgxqgYxE0YoU1rDa2CB+7PoAdn tKotbYzbysIzzy/GFBDO4yzCrWi+BnkIknerMOSpbR+0ji5o9lW3RMbIXhxSY5EWVqRWuRBaX c8M9ynrNhJAxXQ3QYFCYr1wWZyhCT1Pprd4ddmSwoTF2ykS5embOhv/GiINPXaJhrDCTunkwY SRbLKclcG2lwBUKpGyKvCx5yYDGE8N1A3yGhauCIMsmKZnjwzD9yAJBwLaV+440U0ukGULzTz mJOP2pepPP2W8Gk0ykmHH5SQEoOP8JydgD4BgZtFPW1PZXO0PcWoS3gRxlzxC2LkFF2QOZ70T Zky7/KgSHdpTb8OnpACPSwh9fUGGwUVqpulnTHWM+6BRFwLy+cjGAOE0vNlfTa5EVxQQN849V C6kLx+GRXx6p83fd9fOV/AfGFe0P3cHjcuo2sDWLUzR0K95XA5V1UE/lYxCg6WAlQgYpnThsw slCtWckLkMV6kHAgFqUKa9YOVYtCUXZmlX8Ry1t3QT9aPVHnZkvnS8VsBnppjwPM7TbOu0JlX L2MHV2uUj52fSAGap List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Sean Brown schrieb am 01.10.2020 um 16:51: > I=E2=80=99m having a little problem using pg_upgrade to move from 10 to = 13, > I=E2=80=99m assuming the issue is related to the removal of pg_pltemplat= e, > but I can=E2=80=99t find anything related to how to handle it. > > pg_upgrade =E2=80=94check reports that the clusters are compatible, but = the > actual upgrade fails starting the new cluster with - > > ERROR: relation =E2=80=9Cpg_catalog.pg_pltemplate=E2=80=9D does not exis= t STATEMENT: > GRANT SELECT ON TABLE =E2=80=9Cpg_catalog"."pg_pltemplate=E2=80=9D TO "a= ppuser=E2=80=9D; > > Is there a way to deal with this that doesn=E2=80=99t include dropping t= he > source table? > Does revoking the privilege before running pg_upgrade help? So in the v10 database: revoke select on pg_catalog.pg_pltemplate from appuser;