Re: Delete failing with -- permission denied

From: anand086 <anand086(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Delete failing with -- permission denied
Date: 2017-06-05 21:34:37
Message-ID: 1496698477794-5964888.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thank you Tom for your quick reply.

"FK CASCADE queries are run as the owner of the table in question."

All the table belong to TEST and application user is user_test. Below grants
were granted to "user_test"

GRANT ALL PRIVILEGES ON ALL TABLES IN schema "test" TO user_test;
grant usage on schema "test" to user_test;

What would be needed to rectify the issue?

--
View this message in context: http://www.postgresql-archive.org/Delete-failing-with-permission-denied-tp5964882p5964888.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David G. Johnston 2017-06-05 21:43:24 Re: Delete failing with -- permission denied
Previous Message Tom Lane 2017-06-05 21:15:17 Re: Delete failing with -- permission denied