postgresql - expression=(true) 的 GRANT 和 POLICIES 之间有什么区别吗?
问题描述
类似的东西create policy write on test_table for insert with check (true);
是否等同于grant insert on test_table
?
如果没有,你应该什么时候使用一个而不是另一个?
解决方案
推荐阅读
- apache-spark - Spark Cassandra 优化连接
- sql - 如何检查行的连续性?
- reactjs - ReactDOMServer.renderToStaticMarkup() 与 ReactDOM.render()
- amazon-web-services - Elastic Beanstalk 部署挂钩:获取用户的用户名
- authentication - AddAuthentication 和 AddAuthenticationCore 有什么区别?
- c++ - 如何运行多行cin?
- javascript - 在 NodeJS 中将多个数据库查询优化为一个
- git - 使用 GIT 通过拖放方法替换连接到 Azure Devops (web) 的源/repo 文件夹(本地)中的文件
- java - 我有一个涉及 Android 中的 Handle.postDelay 函数的问题
- c - (int*) malloc(n*sizeof(int)) 和 int *array = malloc(sizeof(int)*n) 的区别