Fix aclexplode to not explode on a zero-entry ACL array.

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

Commit: 894fc6b763c2053c01a5be5d20a76d1db650547d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-12T02:39:22Z
Releases: 9.0.0
Fix aclexplode to not explode on a zero-entry ACL array.
(An Assert is no substitute for thinking clearly :-()

Minor style kibitzing too.

Per report from Robert Treat.

Files

PathChange+/−
src/backend/utils/adt/acl.c modified +16 −14