pgsql: Revert b2a459edf "Fix GRANTED BY support in REVOKE ROLE statemen - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Revert b2a459edf "Fix GRANTED BY support in REVOKE ROLE statemen
Date
Msg-id E1n2uVK-0007ea-68@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Revert b2a459edf "Fix GRANTED BY support in REVOKE ROLE statements"

The reverted commit attempted to fix SQL specification compliance for
the cases which 6aaaa76bb left.  This however broke existing behavior
which takes precedence over spec compliance so revert. The introduced
tests are left after the revert since the codepath isn't well covered.
Per bug report 17346. Backpatch down to 14 where it was introduced.

Reported-by: Andrew Bille <andrewbille@gmail.com>
Discussion: https://postgr.es/m/17346-f72b28bd1a341060@postgresql.org

Branch
------
master

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

Modified Files
--------------
src/backend/commands/user.c              | 11 -----------
src/backend/parser/gram.y                |  2 --
src/test/regress/expected/privileges.out |  2 --
3 files changed, 15 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix overly generic name in with.sql test.
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Revert b2a459edf "Fix GRANTED BY support in REVOKE ROLE statemen