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

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

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        acl.c (r1.154 -> r1.155)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/acl.c?r1=1.154&r2=1.155)