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 1kn07U-00022G-Lq for pgsql-admin@arkaria.postgresql.org; Wed, 09 Dec 2020 14:07:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kn07T-0008K7-Cb for pgsql-admin@arkaria.postgresql.org; Wed, 09 Dec 2020 14:07:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kn07T-0008K0-59 for pgsql-admin@lists.postgresql.org; Wed, 09 Dec 2020 14:07:03 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kn07Q-0008VT-RB for pgsql-admin@lists.postgresql.org; Wed, 09 Dec 2020 14:07:02 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2A6F2A0814; Wed, 9 Dec 2020 14:06:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo05-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo05-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XQQ3zVx_mEUk; Wed, 9 Dec 2020 14:06:58 +0000 (UTC) Received: from shr-macbook-pro.local (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 5CB7DA0BE5; Wed, 9 Dec 2020 14:06:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: 12 to 13 migration, the privs error with pg_pltemplate From: Scott Ribe In-Reply-To: <3264512.1607456932@sss.pgh.pa.us> Date: Wed, 9 Dec 2020 07:06:50 -0700 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <154608A6-0F38-4BE8-B3F4-3E3308691F91@elevated-dev.com> References: <074FE83A-E924-4787-9E68-27EB9CE142B3@elevated-dev.com> <3264512.1607456932@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Dec 8, 2020, at 12:48 PM, Tom Lane wrote: >=20 > There is probably an entry in pg_default_acl that is causing this. > You could likely just manually remove that. I'll give it a go. But there's nothing in pg_default_acl with defaclnamespace matching oid = of pg_catalog in pg_namespace. There were some erroneous entries for = namespace public, which I've deleted. But I don't have a lot of = confidence about that being the problem.