Search Postgresql Archives

Re: Using aclitem[] at application layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"A.M." <agentm@xxxxxxxxxxxxxxxxxxxxx> writes:
> In an attempt to implement ACLs at the application layer (for resources stored outside of the database), I am evaluating using aclitem[] as a column type. All the functions I would need seem to be in place: aclcontains, aclexplode, aclinsert, aclitemeq, aclitemin, aclitemout, aclremove, but they are conspicuously missing from the documentation (http://www.mail-archive.com/pgsql-patches@xxxxxxxxxxxxxx/msg03400.html), so I wonder if there are any caveats or hurdles which would make me consider writing my own type.

Other than the fact that we'd feel free to change the behavior of any or
all of that with no notice?

aclitem is an internal type.  If you depend on its behavior, you'll have
only yourself to blame if your application fails in the future.

(I probably wouldn't bother making this point, if the immediately
preceding message hadn't been from someone whining because we changed
the behavior of hashname() ...)

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux