Re: update schema table permission denied - Mailing list pgsql-general

From Tom Lane
Subject Re: update schema table permission denied
Date
Msg-id 3308786.1706912548@sss.pgh.pa.us
Whole thread Raw
In response to update schema table permission denied  (Vano Beridze <vanuatoo@gmail.com>)
List pgsql-general
Vano Beridze <vanuatoo@gmail.com> 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



pgsql-general by date:

Previous
From: Vano Beridze
Date:
Subject: update schema table permission denied
Next
From: Greg Sabino Mullane
Date:
Subject: Re: vacuum freeze wait_event BufferPin