Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rW1vd-002xRV-AR for pgsql-general@arkaria.postgresql.org; Fri, 02 Feb 2024 22:22:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rW1vc-00GLhZ-G1 for pgsql-general@arkaria.postgresql.org; Fri, 02 Feb 2024 22:22:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rW1vc-00GLhQ-5j for pgsql-general@lists.postgresql.org; Fri, 02 Feb 2024 22:22:32 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rW1vZ-004m6B-OL for pgsql-general@lists.postgresql.org; Fri, 02 Feb 2024 22:22: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 412MMShL3308787; Fri, 2 Feb 2024 17:22:28 -0500 From: Tom Lane To: Vano Beridze cc: pgsql-general@lists.postgresql.org Subject: Re: update schema table permission denied In-reply-to: References: Comments: In-reply-to Vano Beridze message dated "Sat, 03 Feb 2024 02:18:19 +0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3308785.1706912548.1@sss.pgh.pa.us> Date: Fri, 02 Feb 2024 17:22:28 -0500 Message-ID: <3308786.1706912548@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vano Beridze writes: > I granted insert and update permission on the table outbox_event to the > user "app" > When the following command is run with the user app > update adm.outbox_event set .. where id = .. > Postgresql gives the notification: > ERROR: permission denied for table outbox_event You need SELECT privilege too in order to read the "id" column. regards, tom lane