]> 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)
commite68570e388f08c2e36ce7d2a9564941b89db6549
tree27e31034cf2e4675e4a40e7a23b7f1c2904fb51c
parent8112bcf0cc602e00e95eab6c4bdc0eb73b5b547d
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