aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-05-28 16:17:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-05-28 16:17:14 +0000
commitd70749545253450b59a9f5ceef56040ccf8c87c5 (patch)
treed9ed58a6e0860661157078555512ae02a919f44c /src/backend/tcop/postgres.c
parenta6ea6457facb28743371d0d33d34b767ccf4b4cc (diff)
downloadpostgresql-d70749545253450b59a9f5ceef56040ccf8c87c5.tar.gz
postgresql-d70749545253450b59a9f5ceef56040ccf8c87c5.zip
Fix thinko in recent patch to change temp-table permissions behavior:
this is an aclmask function and does not have the same return convention as aclcheck functions. Also adjust the behavior so that users without CREATE TEMP permission still have USAGE permission on their session's temp schema. This allows privileged code to create a temp table and make it accessible to code that's not got the same privilege. (Since the default permissions on a table are no-access, an explicit grant on the table will still be needed; but I see no reason that the temp schema itself should prohibit such access.)
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions