aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-13 18:10:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-13 18:10:25 +0000
commit7d6d02b640395bb2f43c01a134d92ff080e82b34 (patch)
treee4bf9dab7b9e32acc1afa63439f3402c7823e77a /src/backend/access/gist/gistget.c
parent1564e92cea27a22ace7da635fe73fc23f96f8d4e (diff)
downloadpostgresql-7d6d02b640395bb2f43c01a134d92ff080e82b34.tar.gz
postgresql-7d6d02b640395bb2f43c01a134d92ff080e82b34.zip
Document that CREATE OPERATOR CLASS amounts to granting public execute
permissions on the functions and operators contained in the opclass. Since we already require superuser privilege to create an operator class, there's no expansion-of-privilege hazard here, but if someone were to get the idea of building an opclass containing functions that need security restrictions, we'd better warn them off. Also, change the permission checks from have-execute-privilege to have-ownership, and then comment them all out since they're dead code anyway under the superuser restriction.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions