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 1l5Xj3-0004aU-CJ for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Jan 2021 17:38:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l5Xj2-0001Ui-0a for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Jan 2021 17:38:28 +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 1l5Xj1-0001Ub-QQ for pgsql-bugs@lists.postgresql.org; Fri, 29 Jan 2021 17:38:27 +0000 Received: from mout.gmx.net ([212.227.17.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5Xiz-0007N3-0G for pgsql-bugs@lists.postgresql.org; Fri, 29 Jan 2021 17:38:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1611941900; bh=arScs0CivtJgqZ2Oe9b37VEvj6gPmnmAz4cIlCClBLY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=MfvnBabc6MdmPU9DZxzjaxOA2jhpn7LiUIJaY54XdrEqwo211HYLBUO+YNjPddaAF wHDJ+FLatRSkiowImFmV85ltkzJFKpvVszC7SVR7aO3C1TT+syXfvDC9c2nmqdBVJe b9Ae+GZMtYJJTBoDZz4I53ZDpPpYTKDltpzOWrmo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from wolfclan.ang.de ([87.191.134.178]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N63RQ-1m33H22xL6-016MS7; Fri, 29 Jan 2021 18:38:20 +0100 From: GMX LINREG To: Tom Lane Cc: Bruce Momjian , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16843: pg_upgrade from 12.5 to 13.1 with extension plperlu failed Date: Fri, 29 Jan 2021 18:38:18 +0100 Message-ID: <5448993.DvuYhMxLoT@wolfclan.ang.de> In-Reply-To: <2815190.1611941374@sss.pgh.pa.us> References: <16843-174d3e5b66729a60@postgresql.org> <7912997.NyiUUSuA9g@wolfclan.ang.de> <2815190.1611941374@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Provags-ID: V03:K1:NlFSgI/SDU7M0x8/UEolXB67wgKAvvFhpGQNpLC7Lc/RrwuS/db B14apwRHBobUrNM/kFYxCxTfpdf5o8MNNRx/CC5JPRn5jHpqI3TPnOTZbO0qo4GfwYIfzVL CFJmOJOaTys5a8mffPZpGZ4/E9VZ8qut75PUQx8JlfGoypPhjNQO0WzfAbAGYjTU+Vk9tCN MLvcEqp4SBQcOvcgqynrg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:O0BCIuj8iRU=:mwJOXcL++D00ChqpM6RwR7 rglxL6z9XJdp8EtqHf2kfgs8/idf/qTNJnXNL/YE9KJnyEH3RMO8nUpBTaIwR1C/AR36PHn+n IufUDudJsQl/4C5UEbGESxfoDsSQr8wfRbzm5zh9MJQlWTWHKqSAONlsaZoeK14AG1QNcWCdh bozdRAsSyDe8ZVmdE/8CdpfLezg4GPZy1xslJgjQuxczP52EwcYgDInN2pLBGX0Bp/E3EHqJk lSgd9C0VyL0cO3qJeDvgFahw7eu3XQAv2Yq1HM3YkJOLb6HgG+pMBcSX2LLIxF4KY8GPAfUkm jIMcRwoqBI0wmQZht4hffgcioOaAIME/NL2xvoRhmnRo0CmT3SM00GtGDRDZlTcLj+Zt8syYi BTh7VrNIQ0b6otp+jeUCSDXVx8fCF0BA40AG7nxlIQXmEz4+D0BFpf35mVxIZB/P2yZTQrx5H pYHt/BzCD9IRtggJMZtUjhZruuDV7Dit4+9Xvbln4jDZMnTuJdsiXMHz/7wxkvUAr/mRXJqXl fwH1hCTG6e5vAFz927+ldtRPzrXAcws8K0JFEHP2K/UjSgN/EVX+WLkKopUhnONluygeV291O 7Czbfd2rpnnu8pvvOYGJotdiCkfUpwzznmTOzUIXtIajtYhGHsX+7azJtr6uEaeydlkvBDltB NMb8w5ISFs1BjsfR8XEWwx8lAiW1H7oimDg/Xp/BEUkphaBaAd4FeZxDkuOrNtQRAoszYvbxs OrpmGspO36T1ReP3dKm3qoxsIyR43nKfS4qS01fVvazBClsnPA6tMpMTpUREJjot88CyEra5H E3KWnpqQVGDk/hjW27oeOGIuccn0u2/cLoS81dmIrkNGPaDYml91EoxKZlkDbJ4/fuJl1P6pj +NNShRjXExIDWRwAA02A== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am Freitag, 29. Januar 2021, 18:29:34 CET schrieb Tom Lane: > Looking at this more closely, it seems like there must be something broken > about the plperlu extension in the source database. We see >=20 > pg_restore: erstelle EXTENSION =C2=BBplperlu=C2=AB > pg_restore: erstelle COMMENT =C2=BBEXTENSION "plperlu"=C2=AB > pg_restore: erstelle PROCEDURAL LANGUAGE =C2=BBplperlu=C2=AB > pg_restore: in Phase PROCESSING TOC: > pg_restore: in Inhaltsverzeichniseintrag 2151; 2612 16427 PROCEDURAL > LANGUAGE plperlu postgres pg_restore: Fehler: could not execute query: > FEHLER: Sprache =C2=BBplperlu=C2=AB existiert nicht Die Anweisung war: C= REATE OR > REPLACE PROCEDURAL LANGUAGE "plperlu"; >=20 > but a binary-upgrade dump should have dumped the plperlu support functions > before the procedural language object. And the CREATE PROCEDURAL LANGUAGE > command should have included explicit HANDLER etc clauses. Both things > could be explained by supposing that pg_dump didn't see the support > functions as part of the extension, but why not? >=20 > It might be interesting to check the results of "\dx+ plperlu" in the > source database. >=20 > regards, tom lane Hello output from source database: botdb=3D# \dx+ plperlu Objekte in Erweiterung =BBplperlu=AB Objektbeschreibung=20 =2D------------------- language plperlu thomas steffen