BUG #5545: permission denied on delete - Mailing list pgsql-bugs

From Niranjan Pandit
Subject BUG #5545: permission denied on delete
Date
Msg-id 201007081249.o68Cn15l014050@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5545: permission denied on delete
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5545
Logged by:          Niranjan Pandit
Email address:      smartnp81@gmail.com
PostgreSQL version: 8.4
Operating system:   Fedora 13
Description:        permission denied on delete
Details:

role A is member of role B, role B has delete privilege also the select
privilege on the id field of the table. when logged in with role A and set
role to B, the permission is still denied to delete a record, any ideas why
is permission denied ?

the set role is in a security invoker function before the delete statement.
Could this be related in anyway ?

pgsql-bugs by date:

Previous
From: "Pavani Mallampati"
Date:
Subject: BUG #5544: Bug while loading the csv file into the table
Next
From: Robert Haas
Date:
Subject: Re: BUG #5545: permission denied on delete