Re: User permission

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "C G" <csgcsg39(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: User permission
Date: 2004-04-18 20:21:32
Message-ID: 200404182221.32859.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> I'm not sure there is any clean solution that would make this do what
> you expect, partly because it's not real clear what you expect
> (consider nested SECURITY DEFINER functions, error recovery, etc).
> I'd be inclined to put a band-aid on it by forbidding SET SESSION
> AUTHORIZATION inside functions.

Well, we could also try to just not switch back to the old value when
exiting the function. I'll have a look to see whether that is doable.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jerry LeVan 2004-04-18 20:22:51 Re: Folding subtotals into query?
Previous Message Eric Ridge 2004-04-18 20:20:27 Re: Folding subtotals into query?