Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > no privileges w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15516 of 16941
Post > Topic >>

no privileges were granted

by yazicivo@[EMAIL PROTECTED] (Volkan YAZICI) May 13, 2008 at 09:52 AM

Hi,

When I try to grant execution permissions of a function to a role,
PostgreSQL warns that "no privileges were granted"
(backend/catalog/aclchk.c:221).

test_1_5_0_0=> \df+ emove.emove_outgoingmessages_delete_for_commsrv
List of functions
-[ RECORD 1 ]-------+-------------------------------------------
Schema              | emove
Name                | emove_outgoingmessages_delete_for_commsrv
Result data type    | trigger
Argument data types |
Volatility          | volatile
Owner               | emove
Language            | plpgsql
Source code         |
                    : BEGIN
                    :     DELETE FROM commsrv.outgoingmessages
                    :           WHERE messageid = OLD.messageid;
                    :
                    :     RETURN OLD;
                    : END;
                    :
Description         |

test_1_5_0_0=> GRANT EXECUTE ON FUNCTION
emove.emove_outgoingmessages_delete_for_commsrv() TO emove;
WARNING:  no privileges were granted for
"emove_outgoingmessages_delete_for_commsrv"
GRANT

Does anybody have an idea about what might be causing the problem? By
the way, is there any (preferably psql) shortcut to list permissions of
a function?


Regards.

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
no privileges were granted
yazicivo@[EMAIL PROTECTED  2008-05-13 09:52:27 
Re: no privileges were granted
tgl@[EMAIL PROTECTED] (T  2008-05-13 10:12:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 12:59:26 CDT 2008.