Benjamin Stookey <jamstooks(at)yahoo(dot)com> writes:
> My question is, can I somehow give permissions to the
> function, but not to the user to protect the counter
> table from being modified in any ways I don't want?
Label the function SECURITY DEFINER.
regards, tom lane
In response to
Responses
pgsql-general by date
| Next: | From: Ian Harding | Date: 2006-01-09 04:03:17 |
| Subject: Re: Oracle DB Worm Code Published |
| Previous: | From: Benjamin Stookey | Date: 2006-01-09 03:43:24 |
| Subject: Functions as a Security Layer |