grant problem

From: Rajarshi Mukherjee <mukherjee(dot)rajarshi(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: grant problem
Date: 2005-03-22 11:57:25
Message-ID: df10886f0503220357dda464f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello all,

i have a function that updates a table. I gave execute grant on it to
a particular user but no grant on the table in question.

when logging in as that user and executing the function, i get an error
ERROR: permission denied for relation <table_name>

How can i ensure that any update on this table is only done through
that function, and that the function is oublicly executable?

Please provide suggestions.

Thanks & Regards,
Raj.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-03-22 12:00:49 Re: PHP SQL
Previous Message Sean Davis 2005-03-22 11:51:25 Re: pl/perl problem