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

pgsql-server: Align GRANT/REVOKE behavior more closely with the SQL

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Align GRANT/REVOKE behavior more closely with the SQL
Date: 2004-06-01 21:49:23
Message-ID: 20040601214923.D0902D1B17C@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Align GRANT/REVOKE behavior more closely with the SQL spec, per discussion
of bug report #1150.  Also, arrange that the object owner's irrevocable
grant-option permissions are handled implicitly by the system rather than
being listed in the ACL as self-granted rights (which was wrong anyway).
I did not take the further step of showing these permissions in an
explicit 'granted by _SYSTEM' ACL entry, as that seemed more likely to
bollix up existing clients than to do anything really useful.  It's still
a possible future direction, though.

Modified Files:
--------------
    pgsql-server/doc/src/sgml/ref:
        grant.sgml (r1.39 -> r1.40)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/ref/grant.sgml.diff?r1=1.39&r2=1.40)
        revoke.sgml (r1.29 -> r1.30)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/ref/revoke.sgml.diff?r1=1.29&r2=1.30)
    pgsql-server/src/backend/catalog:
        aclchk.c (r1.102 -> r1.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/aclchk.c.diff?r1=1.102&r2=1.103)
    pgsql-server/src/backend/utils/adt:
        acl.c (r1.104 -> r1.105)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/acl.c.diff?r1=1.104&r2=1.105)
    pgsql-server/src/include/utils:
        acl.h (r1.69 -> r1.70)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/acl.h.diff?r1=1.69&r2=1.70)
        errcodes.h (r1.11 -> r1.12)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/errcodes.h.diff?r1=1.11&r2=1.12)
    pgsql-server/src/test/regress/expected:
        privileges.out (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/test/regress/expected/privileges.out.diff?r1=1.26&r2=1.27)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-06-01 22:03:19
Subject: pgsql-server: Add locale setting for pg_ctl.
Previous:From: Serguei A. MokhovDate: 2004-06-01 20:39:21
Subject: Re: pg_ctl-related "fixes"

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