]> granicus.if.org Git - postgresql/commit
Fix up some loose ends for CURRENT_USER as RoleSpec
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 30 Apr 2015 19:57:05 +0000 (16:57 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 30 Apr 2015 19:57:05 +0000 (16:57 -0300)
commit9d396af46357df1243aff4a9ca4f4987e4fe6024
treeda99dbb108c8af7abbf9d0b4d16a11eee637181e
parent924bcf4f16d54c55310b28f77686608684734f42
Fix up some loose ends for CURRENT_USER as RoleSpec

In commit 31eae6028eca4, some documents were not updated to show the new
capability; fix that.  Also, the error message you get when CURRENT_USER
and SESSION_USER are used in a context that doesn't accept them could be
clearer about it being a problem only in those contexts; so add the
word "here".

Author: Kyotaro HORIGUCHI

His patch submission also included changes to GRANT/REVOKE, but those
seemed more controversial, so I left them out.  We can reconsider these
changes later.
doc/src/sgml/ref/alter_policy.sgml
doc/src/sgml/ref/create_policy.sgml
doc/src/sgml/ref/create_tablespace.sgml
doc/src/sgml/ref/drop_owned.sgml
doc/src/sgml/ref/reassign_owned.sgml
src/backend/parser/gram.y
src/test/regress/expected/rolenames.out