aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/oracle_compat.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-04 17:25:15 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-04 17:25:15 +0000
commitc3d8de0907b53e3ce8988c71181edb6bcecd5aa6 (patch)
treea1042b32888fa0bd6486d3fd6c00fa5e5a317ef2 /src/backend/utils/adt/oracle_compat.c
parente47ea0566c58e9a7f3a592e9f44d57c4a1823447 (diff)
downloadpostgresql-c3d8de0907b53e3ce8988c71181edb6bcecd5aa6.tar.gz
postgresql-c3d8de0907b53e3ce8988c71181edb6bcecd5aa6.zip
Disregard superuserness when checking to see if a role GRANT would
create circularity of role memberships. This is a minimum-impact fix for the problem reported by Florian Pflug. I thought about removing the superuser_arg test from is_member_of_role() altogether, as it seems redundant for many of the callers --- but not all, and it's way too late in the 8.1 cycle to be making large changes. Perhaps reconsider this later.
Diffstat (limited to 'src/backend/utils/adt/oracle_compat.c')
0 files changed, 0 insertions, 0 deletions