我可以依赖PostgreSQL中的aclexplode()函数吗?

编程入门 行业动态 更新时间:2024-10-10 19:25:56
本文介绍了我可以依赖PostgreSQL中的aclexplode()函数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

PostgreSQL 9.5中有一个有用的函数,称为 aclexplode(),但我似乎找不到任何官方文档上。

There is a useful function in PostgreSQL 9.5 called aclexplode() but I can't seem to find any official documentation on it.

我应该避免使用它吗?

Should I avoid using it? Is it technically an unstable API?

推荐答案

是的,您可以依靠它。最终在即将发布的PostgreSQL 12中记录了此功能(提交)。

Yes, you can rely on it. This function is finally documented in upcoming PostgreSQL 12 (commit).

aclexplode 返回 aclitem 数组作为一组行。输出列是授予者 oid ,受赠者 oid (< 0 PUBLIC ),以 text ( SELECT ,。)授予特权。 ..)以及prilivege是否可授予 boolean 。 makeaclitem 执行相反的操作。

aclexplode returns an aclitem array as a set rows. Output columns are grantor oid, grantee oid (0 for PUBLIC), granted privilege as text (SELECT, ...) and whether the prilivege is grantable as boolean. makeaclitem performs the inverse operation.

更多推荐

我可以依赖PostgreSQL中的aclexplode()函数吗?

本文发布于:2023-10-26 17:54:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1530905.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:函数   PostgreSQL   aclexplode

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!