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 1k3ky9-0001xi-Qa for pgsql-general@arkaria.postgresql.org; Thu, 06 Aug 2020 18:50:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k3ky8-0000v2-Nt for pgsql-general@arkaria.postgresql.org; Thu, 06 Aug 2020 18:50:24 +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 1k3ky8-0000uv-Bp for pgsql-general@lists.postgresql.org; Thu, 06 Aug 2020 18:50:24 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3ky5-0003p6-Hs for pgsql-general@lists.postgresql.org; Thu, 06 Aug 2020 18:50:23 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 368BFC16BD; Thu, 6 Aug 2020 18:50:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vhKupxcLRj1l; Thu, 6 Aug 2020 18:50:20 +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 70297C0CB1; Thu, 6 Aug 2020 18:50:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: privileges oddity From: Scott Ribe In-Reply-To: <2637375.1596739138@sss.pgh.pa.us> Date: Thu, 6 Aug 2020 12:50:17 -0600 Cc: PostgreSQL General Content-Transfer-Encoding: quoted-printable Message-Id: <3BB973D9-71E3-445C-ABD3-24C0FF32B6E4@elevated-dev.com> References: <2636627.1596738120@sss.pgh.pa.us> <2637375.1596739138@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3608.120.23.2.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Aug 6, 2020, at 12:38 PM, Tom Lane wrote: >=20 > Hmph. Any chance of getting a stack trace from the point of the = error? possibly > Also, which PG version is this? 12.3 It is probably relevant that we cleaned up roles & privs yesterday, lots = of REVOKE & GRANT, and some DROP ROLE. I started out thinking I'd made a = mistake with that, but now I'm starting to wonder if there's a bug I hit = in some of that which fubar'd something in system catalog... Maybe also relevant that the original creator & owner of the schema = (zoewang) was dropped after schema owner was changed srv_risk. = (Likewise, changed ownership of tables in the schema...)