Re: Permissions within a function - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Re: Permissions within a function
Date
Msg-id thhal-0lA2gAiE6cS45EVDYbI5QH6yhY0iREV@mailblocks.com
Whole thread Raw
In response to Re: Permissions within a function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Well, it's not.  Exactly what are you going to flip it *to*?  You can't
> hardwire a particular userid and expect to have a robust solution.
> 
> I'd recommend the lower-level approach myself.

How about flipping to the owner of the table, (or perhaps schema since 
all pljava specific stuff resides in the sqlj schema) that I want to access?

Regards,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Permissions within a function
Next
From: Simon Riggs
Date:
Subject: Re: [Testperf-general] BufferSync and bgwriter