Problem: has_function_privilege() - Mailing list pgsql-php

From Stefan Hans
Subject Problem: has_function_privilege()
Date
Msg-id 008501c40ace$6638b670$bf01a8c0@pc1
Whole thread Raw
Responses Re: Problem: has_function_privilege()
List pgsql-php
Hi *,
 
can somebody help to solve this?
 
[has_function_privilege(user, function, privilege)]:
 
my_example=# select has_function_privilege('postgres', 'cash_cmp', 'execute');

ERROR:  expected a left parenthesis
 
 
[has_function_privilege(function, privilege) ]:

my_example=# select has_function_privilege('cash_cmp', 'execute');

ERROR:  expected a left parenthesis
                                                                      
-------------------------------------------------------------------------------------------------------
 PostgreSQL 7.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
 
 
thx in advance
 
greetings from munich
 
stefan
 

pgsql-php by date:

Previous
From: Markus Bertheau
Date:
Subject: Re: Please help: PHP4/postgres db woes
Next
From: Joe Conway
Date:
Subject: Re: Problem: has_function_privilege()