OSDN Git Service

Arrange for the default permissions on a database to allow temp table
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Sep 2002 22:17:35 +0000 (22:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Sep 2002 22:17:35 +0000 (22:17 +0000)
commitd61de58906249e8fb8e44d1ef454d029325526a3
treedc5aafeca29a2b1265868c1f55624db1d47f9f3c
parentc7d07b5a456a57b48975dd582f70d4bcf966bb91
Arrange for the default permissions on a database to allow temp table
creation to world, but disallow temp table creation in template1.  Per
latest round of pghackers discussion.
I did not force initdb, but the permissions lockdown on template1 will
not take effect unless you do one (or manually REVOKE TEMP ON DATABASE template1 FROM public).
doc/src/sgml/ref/grant.sgml
src/backend/commands/dbcommands.c
src/backend/utils/adt/acl.c
src/bin/initdb/initdb.sh