ACL-related adt functions: aclcontains vs aclcheck - Mailing list pgsql-hackers

From fche@redhat.com (Frank Ch. Eigler)
Subject ACL-related adt functions: aclcontains vs aclcheck
Date
Msg-id o51yjal37s.fsf@toenail.toronto.redhat.com
Whole thread Raw
Responses Re: ACL-related adt functions: aclcontains vs aclcheck
List pgsql-hackers
Hi -

Is there a good reason why the aclcontains() UDF in utils/adt/acl.c is
defined as it is, instead of calling over to aclcheck() in
catalog/aclchk.c?  With that, aclcontains('{"group foo=r"}',"user bar=r")
would return true if bar is in foo.

- FChE


pgsql-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Java's Unicode Notation
Next
From: Tom Lane
Date:
Subject: Re: ACL-related adt functions: aclcontains vs aclcheck