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 1l59Sa-0007YC-Nx for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Jan 2021 15:43:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l59SZ-0002rG-Li for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Jan 2021 15:43:51 +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 1l59SZ-0002r9-Fn for pgsql-bugs@lists.postgresql.org; Thu, 28 Jan 2021 15:43:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l59SW-0003hP-Gb for pgsql-bugs@lists.postgresql.org; Thu, 28 Jan 2021 15:43:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10SFhjaZ2547215; Thu, 28 Jan 2021 10:43:45 -0500 From: Tom Lane To: Bruce Momjian cc: linreg@gmx.net, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16843: pg_upgrade from 12.5 to 13.1 with extension plperlu failed In-reply-to: <20210128153635.GA14227@momjian.us> References: <16843-174d3e5b66729a60@postgresql.org> <2546761.1611848086@sss.pgh.pa.us> <20210128153635.GA14227@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 28 Jan 2021 10:36:35 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2547213.1611848625.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 28 Jan 2021 10:43:45 -0500 Message-ID: <2547214.1611848625@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Thu, Jan 28, 2021 at 10:34:46AM -0500, Tom Lane wrote: >> PG Bug reporting form writes: >>> pg_restore: Error: could not execute query: ERROR: Language =C2=BBplp= erlu=C2=AB does >>> not exist >>> The statement was: CREATE OR REPLACE PROCEDURAL LANGUAGE "plperlu"; >> It looks like you neglected to install the plperlu package >> (it's probably named something like postgresql-plperl). > Yeah, I am confused why this was not reported clearly to the user. It is odd that pg_upgrade's checks didn't catch it earlier. But we can't investigate without more info about exactly what Postgres packages are present on the OP's system. regards, tom lane