Permissions within a function - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Permissions within a function
Date
Msg-id thhal-0IMieAm8zcS4eYYO33XksLYbPsRqQTJ@mailblocks.com
Whole thread Raw
Responses Re: Permissions within a function
Re: Permissions within a function
Re: Permissions within a function
List pgsql-hackers
I'd like some views on the following issue.

The pljava function call handler will resolve a class name using a 
loader that in turn uses a specific table in the PostgreSQL database. 
Hence, the caller of the function must have select permissions on that 
table or the function will fail. I would like to prevent this somehow 
but I don't know how to go about that. Is there any way to bypass the 
permissions when I do an SPI call from within a call handler somehow?

Regards,
Thomas Hallgren




pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [Testperf-general] BufferSync and bgwriter
Next
From: vamsi krishna
Date:
Subject: Re: Permissions within a function