Re: Grant Update (Possible bug)?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ilir Gashi <I(dot)Gashi(at)city(dot)ac(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Grant Update (Possible bug)?
Date: 2004-07-02 15:14:02
Message-ID: 200407021714.02511.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Me wrote:
> Am Freitag, 2. Juli 2004 13:20 schrieb Ilir Gashi:
> > CREATE TABLE TEST(ID INTEGER,NAME VARCHAR(50));
> > INSERT INTO TEST (ID) VALUES (1);
> > GRANT UPDATE ON TEST TO TESTUSER;
> > Connect as TestUser;
> > UPDATE TEST SET NAME='TEST' WHERE ID=1;
> > ERROR: test: Permission denied.
> > UPDATE TEST SET NAME='TEST';
> > Executes successfully.
>
> According to the letter of the SQL standard, this behavior is not
> conforming.

OK, I was wrong, the behavior is correct, but the specification was hidden
somewhere in the subclauses.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David Newall 2004-07-02 15:17:41 Improper processing of random values in sub-queries
Previous Message Bruno Wolff III 2004-07-02 15:11:06 Re: Possible bug?