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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Align GRANT/REVOKE behavior more closely with the SQL
Date
Msg-id 20040601214923.D0902D1B17C@svr1.postgresql.org
Whole thread Raw
List 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:

Previous
From: "Serguei A. Mokhov"
Date:
Subject: Re: pg_ctl-related "fixes"
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server: Add locale setting for pg_ctl.