pgsql: Further unify ROLE and USER command grammar rules

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Further unify ROLE and USER command grammar rules
Date: 2017-08-04 02:15:34
Message-ID: E1ddS9G-00078x-Px@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Further unify ROLE and USER command grammar rules

ALTER USER ... SET did not support all the syntax variants of ALTER ROLE
... SET. Fix that, and to avoid further deviations of this kind, unify
many the grammar rules for ROLE/USER/GROUP commands.

Reported-by: Pavel Golub <pavel(at)microolap(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b3744812215de458c80629c3a9c57f00833de8a9

Modified Files
--------------
doc/src/sgml/ref/alter_user.sgml | 8 +--
src/backend/parser/gram.y | 105 +++++++++++---------------------
src/test/regress/expected/rolenames.out | 10 +--
3 files changed, 43 insertions(+), 80 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-08-04 15:07:31 pgsql: Disallow SSL session tickets.
Previous Message Tom Lane 2017-08-03 21:36:58 pgsql: Fix pg_dump/pg_restore to emit REFRESH MATERIALIZED VIEW command