Re: Grant Update (Possible bug)? - Mailing list pgsql-bugs

From Stephen Frost
Subject Re: Grant Update (Possible bug)?
Date
Msg-id 20040702170256.GT21419@ns.snowman.net
Whole thread Raw
In response to Re: Grant Update (Possible bug)?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > According to the letter of the SQL standard, this behavior is not confo=
rming.
> > But PostgreSQL enforces that you need SELECT privilege for columns that=
 you=20
> > read for the purpose of performing an UPDATE.
>=20
> Why do you think it's non-conformant?  AFAICS SQL92 section 6.4 <column
> reference> Access Rule 1(a) requires exactly this behavior.
>=20
> I notice that Annex E item 5 points this out as an incompatibility with
> SQL89 ... maybe Oracle is still on SQL89 ...

It would seem reasonable, then, that a grant of update privilege would
imply a grant of select privilege.  Currently this isn't the case.

    Stephen

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Grant Update (Possible bug)?
Next
From: Gaetano Mendola
Date:
Subject: Re: BUG #1186: Broken Index?