Re: security definer default for some PL languages (SQL/PSM)? - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: security definer default for some PL languages (SQL/PSM)?
Date
Msg-id BAY20-F151FD5D98E1002B1391D6DF9BD0@phx.gbl
Whole thread Raw
In response to Re: security definer default for some PL languages (SQL/PSM)?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
>
>Pavel Stehule wrote:
> > SQL/PSM default for SQL procedures are SECURITY DEFINER (like views),
>
>I can't find this in the standard.  Where did you get this information?
>
>--

Jim Melton, SQL's stored procedures, page 43,

next:
blom98sqlpsm:

3.3.1 Access rights to data
By default, the stored routine can access the same data as the creator of 
the routine.
Hence all tables that the creator of a routine can access and/or change can 
also be
accessed and changed by the routine

but I can't find any better info now, so it's can be propably 
implementation-defined.

_________________________________________________________________
Chcete sdilet sve obrazky a hudbu s prateli? http://messenger.msn.cz/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: security definer default for some PL languages (SQL/PSM)?
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] COPY with no WAL, in certain circumstances