@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $ Header : / cvsroot / pgsql / src / backend / utils / adt / acl . c , v 1.77 2002 / 08 / 27 03 : 56 : 35 momjian Exp $
* $ Header : / cvsroot / pgsql / src / backend / utils / adt / acl . c , v 1.78 2002 / 09 / 03 22 : 17 : 35 tgl Exp $
*
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
*/
@ -396,7 +396,7 @@ aclitemgt(const AclItem *a1, const AclItem *a2)
* acldefault ( ) - - - create an ACL describing default access permissions
* acldefault ( ) - - - create an ACL describing default access permissions
*
*
* Change this routine if you want to alter the default access policy for
* Change this routine if you want to alter the default access policy for
* newly - created table s ( or any table with a NULL acl entry in pg_class )
* newly - created object s ( or any object with a NULL acl entry ) .
*/
*/
Acl *
Acl *
acldefault ( GrantObjectType objtype , AclId ownerid )
acldefault ( GrantObjectType objtype , AclId ownerid )
@ -413,7 +413,7 @@ acldefault(GrantObjectType objtype, AclId ownerid)
owner_default = ACL_ALL_RIGHTS_RELATION ;
owner_default = ACL_ALL_RIGHTS_RELATION ;
break ;
break ;
case ACL_OBJECT_DATABASE :
case ACL_OBJECT_DATABASE :
world_default = ACL_NO_RIGHTS ;
world_default = ACL_CREATE_TEMP ; /* not NO_RIGHTS! */
owner_default = ACL_ALL_RIGHTS_DATABASE ;
owner_default = ACL_ALL_RIGHTS_DATABASE ;
break ;
break ;
case ACL_OBJECT_FUNCTION :
case ACL_OBJECT_FUNCTION :