OSDN Git Service

Fix some corner cases in ACL manipulation: don't foul up on an empty
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Oct 2003 22:20:54 +0000 (22:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Oct 2003 22:20:54 +0000 (22:20 +0000)
commitf016c92ea4516ff40514603f9ca1a79713c6c0a9
treee58adc14eb02b06e42cb3be60f4b7848ecc0f1bc
parent1a2be80ee7e361da6887b03359135fb03e520550
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.)
src/backend/catalog/aclchk.c
src/backend/utils/adt/acl.c
src/include/utils/acl.h