Re: BUG #1150: grant options not properly checked - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #1150: grant options not properly checked
Date
Msg-id 200405140047.29390.peter_e@gmx.net
Whole thread Raw
In response to Re: BUG #1150: grant options not properly checked  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #1150: grant options not properly checked  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-bugs
Tom Lane wrote:
> After that, you get to the General Rules, which pretty clearly say
> that trying to grant privileges you don't have grant option for is
> just a warning and not an error condition.  (Such privileges will not
> be in the set of "identified privilege descriptors".)
>
> AFAICS the specification for REVOKE is exactly parallel.
>
> So the existing code is still wrong, but not in quite the way we
> thought.
>
> I'd be the first to say that this aspect of the spec is a tad
> bizarre. Does anyone want to argue for ignoring the spec and
> implementing "saner" behavior?  It's not like we are super close to
> spec compliance for privileges otherwise ...

My experience is that violating the spec in this area just leads to
other problems.  Does anyone know what IBM and Oracle do here?  AFAICT,
they're the ones writing the specs.

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Fix for buffer overflow ready [was: Fwd: Bug#247306: odbc-postgresql: SIGSEGV with long inputs (> 10000 bytes)]
Next
From: Martin Pitt
Date:
Subject: Re: Fix for buffer overflow ready [was: Fwd: Bug#247306: odbc-postgresql: SIGSEGV with long inputs (> 10000 bytes)]