Problem: has_function_privilege()

From: "Stefan Hans" <shans(at)tanagra(dot)de>
To: "pgsql-php Mailling List" <pgsql-php(at)postgresql(dot)org>
Subject: Problem: has_function_privilege()
Date: 2004-03-15 20:45:06
Message-ID: 008501c40ace$6638b670$bf01a8c0@pc1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Joe Conway 2004-03-15 21:42:13 Re: Problem: has_function_privilege()
Previous Message Markus Bertheau 2004-03-15 17:57:51 Re: Please help: PHP4/postgres db woes