]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert b2a459edf "Fix GRANTED BY support in REVOKE ROLE statements"
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 30 Dec 2021 12:23:47 +0000 (13:23 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 30 Dec 2021 12:23:47 +0000 (13:23 +0100)
commitcb4f1be43ad2c60ea80b07d3345d8a52ca9f763f
tree89aca558bb716339f11782336bbd419d7c072dd5
parentf7d7ac23d19240a90bbb8d91cb231ef7f883dd02
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
src/backend/commands/user.c
src/backend/parser/gram.y
src/test/regress/expected/privileges.out