-
- Downloads
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.
Showing
- doc/src/sgml/ref/grant.sgml 46 additions, 18 deletionsdoc/src/sgml/ref/grant.sgml
- doc/src/sgml/ref/revoke.sgml 26 additions, 5 deletionsdoc/src/sgml/ref/revoke.sgml
- src/backend/catalog/aclchk.c 347 additions, 215 deletionssrc/backend/catalog/aclchk.c
- src/backend/utils/adt/acl.c 324 additions, 87 deletionssrc/backend/utils/adt/acl.c
- src/include/utils/acl.h 15 additions, 5 deletionssrc/include/utils/acl.h
- src/include/utils/errcodes.h 3 additions, 1 deletionsrc/include/utils/errcodes.h
- src/test/regress/expected/privileges.out 3 additions, 3 deletionssrc/test/regress/expected/privileges.out
Loading
Please register or sign in to comment