pgsql: Fix up some loose ends for CURRENT_USER as RoleSpec - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix up some loose ends for CURRENT_USER as RoleSpec
Date
Msg-id E1Ynug8-0006ie-Dp@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9d396af46357df1243aff4a9ca4f4987e4fe6024

Modified Files
--------------
doc/src/sgml/ref/alter_policy.sgml      |    2 +-
doc/src/sgml/ref/create_policy.sgml     |    2 +-
doc/src/sgml/ref/create_tablespace.sgml |    2 +-
doc/src/sgml/ref/drop_owned.sgml        |    2 +-
doc/src/sgml/ref/reassign_owned.sgml    |    3 ++-
src/backend/parser/gram.y               |    4 ++--
src/test/regress/expected/rolenames.out |    4 ++--
7 files changed, 10 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Create an infrastructure for parallel computation in PostgreSQL.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix pg_rewind regression failure after "fast promotion"