当前位置:网站首页>Gbase 8C mode visibility query function (I)
Gbase 8C mode visibility query function (I)
2022-07-24 00:17:00 【Dazhuang twelve】
Each function executes to check the visibility of the database object type . For functions and operators , If there is no data type with the same object name and parameters in the previous search path , Then this object is visible . For operator classes , Then we should consider the access methods of names and related indexes at the same time .
All these functions need to use OID To identify the object to be checked . If the user wants to test the object by name , Then use OID Alias type (regclass、regtype、regprocedure、regoperator、regconfig or regdictionary) It will be very convenient .
such as , If the schema of a table is in the search path , And there is no table with the same name in the previous search path , Then this table is visible . It is equivalent to a table that can be referenced without explicit schema decoration . such as , To list the names of all visible tables :
gbase=# SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
relname
------------------------------------------------
pg_type
gs_client_global_keys_args
abc
pg_subscription_oid_index
pg_subscription_subname_index
pgxc_prepared_xacts
pg_shadow
pg_roles
pg_user
pg_group
pg_rules
pg_authid
gs_labels
pg_rlspolicies
gs_auditing_access
……
边栏推荐
- OA项目之我的会议(查询)
- Splicing of.Net distribution with outlook mail format and table
- 总结谋划明方向 凝心聚力开新局——和数软件对口援疆项目显成效
- Pytorch with torch no_ grad(): && model.eval()
- Try new methods
- 单目标追踪——【相关滤波】MOSSE:Visual Object Tracking using Adaptive Correlation Filters
- Pytest interface automated testing framework | common running parameters of pytest
- English语法_指示代词 - So
- 自己喜欢投资
- As a programmer, is there anything you want to say to the newcomer?
猜你喜欢

The universal esp32c3 configures partition tables based on the Arduino ide framework

Deep learning 9 feedforward neural network 2: realize feedforward neural network and model optimization

Tencent will close the "magic core". Is there any resistance to the development of digital collections?
![[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area](/img/9b/f40054d91bda3a018e29b106ccd8bb.jpg)
[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area

English语法_指示代词 - So

Esp8266 - at command + network transparent transmission

mysql数据库基础

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

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

【HCIP】MGRE环境下OSPF实验,含多进程双向重发布及OSPF特殊区域
随机推荐
Jenkins uses sonarqube to build pipeline code review project
Gbase 8C string Operator
vulnhub wpwn: 1
FPGA - SPI bus control flash (3) including code
GBase 8c 会话信息函数(一)
尝试新的方法
Happiness of progress and growth
Educational Codeforces Round 132 (Rated for Div. 2)(A-D)
【Android Kotlin】Property、Getter 和 Setter
GBase 8c 访问权限查询函数(三)
[Android kotlin] property, getter and setter
Pytest interface automation testing framework | multi process running case
YOLOv1
docker 拉取redis镜像 并运行
Lac automatic dialing experiment of L2TP
ESP8266————AT指令+网络透传
GBase 8c 访问权限访问函数(四)
As a programmer, is there anything you want to say to the newcomer?
Gbase 8C string operator
Multi knapsack explanation of dynamic programming knapsack problem