Arrange for the default permissions on a database to allow temp table

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d61de58906249e8fb8e44d1ef454d029325526a3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-09-03T22:17:35Z
Releases: 7.3.1
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).

Files

PathChange+/−
doc/src/sgml/ref/grant.sgml modified +8 −6
src/backend/commands/dbcommands.c modified +7 −2
src/backend/utils/adt/acl.c modified +3 −3
src/bin/initdb/initdb.sh modified +9 −1