aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-10-31 20:00:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-10-31 20:00:49 +0000
commit85454829475451a095c695e8cd552791e488f89c (patch)
tree0af4312d4d2511d6e34a4740880ae4702a749c91 /src/backend/access/gist/gistget.c
parent19554ed4878ba1baef2ac245cf4d7355d78d1718 (diff)
downloadpostgresql-85454829475451a095c695e8cd552791e488f89c.tar.gz
postgresql-85454829475451a095c695e8cd552791e488f89c.zip
When a superuser does GRANT or REVOKE on an object he doesn't own,
process the command as though it were issued by the object owner. This prevents creating weird scenarios in which the same privileges may appear to flow from different sources, and ensures that a superuser can in fact revoke all privileges if he wants to. In particular this means that the regression tests work when run by a superuser other than the original bootstrap userid. Per report from Larry Rosenman.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions