Fix some corner cases in ACL manipulation: don't foul up on an empty
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |