当前位置:网站首页>Gbase 8C access authority query function (III)
Gbase 8C access authority query function (III)
2022-07-24 00:17:00 【Dazhuang twelve】
has_directory_privilege(user, directory, privilege)
describe : Specify whether the user has access directory Authority .
surface 1 Parameter type description
Parameter name | Legal input type |
user | name, oid |
directory | text, oid |
privilege | text |
Return type :Boolean
has_directory_privilege(directory, privilege)
describe : Whether the current user has access directory Authority , See table for legal parameter types 1.
Return type :Boolean
has_foreign_data_wrapper_privilege(user, fdw, privilege)
describe : Specify whether the user has access to the external data wrapper .
surface 2 Parameter type description
Parameter name | Legal input type |
user | name, oid |
fdw | text, oid |
privilege | text |
Return type :Boolean
has_foreign_data_wrapper_privilege(fdw, privilege)
describe : Whether the current user has access to the external data wrapper . See table for legal parameter types 2.
Return type :Boolean
remarks :has_foreign_data_wrapper_privilege Check whether the user can access the external data wrapper in a specific way . Its parameters are similar has_table_privilege. The access permission type must be USAGE.
has_function_privilege(user, function, privilege)
describe : Specify whether the user has access to the function .
surface 3 Parameter type description
Parameter name | Legal input type |
user | name, oid |
function | text, oid |
privilege | text |
Return type :Boolean
has_function_privilege(function, privilege)
describe : Whether the current user has access to the function . See table for legal parameter types 3.
Return type :Boolean
remarks :has_function_privilege Check whether a user can access a function in the specified way . Its parameters are similar has_table_privilege. Use text characters instead of OID When you declare a function , Allowed types and regprocedure The data types are the same ( Please refer to object identifier type ). The access permission type must be EXECUTE、ALTER、DROP or COMMENT.
边栏推荐
- Summarize the plan, clarify the direction, concentrate and start a new situation -- the Counterpart Assistance Project of hexu software has achieved remarkable results
- pytorch中with torch.no_grad(): && model.eval()
- php实现 Stripe订阅
- What is restful verb
- Docker builds sonarqube, mysql5.7 environment
- C语言之字符串函数一
- Nacos
- 2022牛客多校联赛第二场 题解
- 链表——707. 设计链表
- Automatic escape processing in JMeter
猜你喜欢

iNFTnews | 呵护“雪山精灵”,42VERSE“数字生态保护”公益项目即将盛启

Space shooting lesson 08: improved collision

Webrtc 1 to 1 - basic architecture and directory

kubernetes error

高数_第1章空间解析几何与向量代数__两点距

webrtc 1对1 -基本架构与目录

473-82(40、662、31、98、189)

The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies

YOLOv1

加密技术应用
随机推荐
腾讯将关闭“幻核”,数字藏品领域发展是否面临阻力?
Multi table query_ External connection
多表查询之_外连接
Deep learning 9 feedforward neural network 2: realize feedforward neural network and model optimization
Jenkins uses sonarqube to build pipeline code review project
A lot of happiness in learning
二叉搜索树的简易实现及剖析
子矩阵的和
Ansible command auto completion
Splicing of.Net distribution with outlook mail format and table
Pytest interface automated testing framework | common running parameters of pytest
Summarize the plan, clarify the direction, concentrate and start a new situation -- the Counterpart Assistance Project of hexu software has achieved remarkable results
加密技术应用
Take a nap at home today
sed 深入理解与使用
The name in Qiankun subapplication package.json becomes the default path
Realize the function of uploading and downloading files and directories similar to RZ and SZ on the native terminal
Pytest interface automation test framework | summary
Pytest interface automation testing framework | multi process running case
Space shooting lesson 07: add graphics