Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] Roles - SET ROLE Updated

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [PATCHES] Roles - SET ROLE Updated
Date: 2005-07-21 21:22:33
Message-ID: 22981.1121980953@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
>> My current reading of 4.31 is that SET ROLE *doesn't* drop rights, which
>> means we need to rethink all of this.  However, on this point:

> Yeah, it seems to add them.  Honestly, my recollection from working on
> Oracle is that you have access to all the roles you've been granted when
> you connect as a user.  If it'd be useful I'd be happy to see about
> finding out exactly what Oracle does in this regard and if it actually
> follows the specification or what.

Yeah, let's take a look.  This wouldn't be the first part of the spec
we've come across that is mostly honored in the breach...

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Stephen FrostDate: 2005-07-21 21:24:14
Subject: Re: [PATCHES] Roles - SET ROLE Updated
Previous:From: Stephen FrostDate: 2005-07-21 21:10:11
Subject: Re: [PATCHES] Roles - SET ROLE Updated

pgsql-patches by date

Next:From: Stephen FrostDate: 2005-07-21 21:24:14
Subject: Re: [PATCHES] Roles - SET ROLE Updated
Previous:From: Stephen FrostDate: 2005-07-21 21:10:11
Subject: Re: [PATCHES] Roles - SET ROLE Updated

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group