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 1mDWko-000334-7p for pgsql-sql@arkaria.postgresql.org; Tue, 10 Aug 2021 18:45:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mDWkm-0000yc-8J for pgsql-sql@arkaria.postgresql.org; Tue, 10 Aug 2021 18:45:32 +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 1mDWkl-0000yB-WF for pgsql-sql@lists.postgresql.org; Tue, 10 Aug 2021 18:45:32 +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 1mDWkf-0005XZ-Ij for pgsql-sql@lists.postgresql.org; Tue, 10 Aug 2021 18:45:30 +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 17AIjMCc3825625; Tue, 10 Aug 2021 14:45:22 -0400 From: Tom Lane To: Ben Tilly cc: pgsql-sql@lists.postgresql.org Subject: Re: Is this a security oversight? In-reply-to: References: <3825125.1628620330@sss.pgh.pa.us> Comments: In-reply-to Ben Tilly message dated "Tue, 10 Aug 2021 11:40:53 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3825623.1628621122.1@sss.pgh.pa.us> Date: Tue, 10 Aug 2021 14:45:22 -0400 Message-ID: <3825624.1628621122@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ben Tilly writes: > In that case please modify this to a request to allow casts to be created > by a superuser without having to change the ownership of the objects > involved. I think you're still confused. That case does work. regards, tom lane