Fix some corner cases in ACL manipulation: don't foul up on an empty

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

Commit: f016c92ea4516ff40514603f9ca1a79713c6c0a9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-10-29T22:20:54Z
Releases: 7.4.1
Fix some corner cases in ACL manipulation: don't foul up on an empty
ACL array, and force languages to be treated as owned by the bootstrap
user ID.  (pg_language should have a lanowner column, but until it does
this will have to do as a workaround.)

Files

PathChange+/−
src/backend/catalog/aclchk.c modified +9 −5
src/backend/utils/adt/acl.c modified +52 −51
src/include/utils/acl.h modified +25 −15