当前位置:网站首页>Gbase 8C session information function (V)
Gbase 8C session information function (V)
2022-07-24 00:17:00 【Dazhuang twelve】
pg_conf_load_time()
describe : Configure load time .pg_conf_load_time Returns the timestamp of the last loaded server configuration file .
return type :timestamp with time zone
Example :
gbase=# SELECT pg_conf_load_time();
pg_conf_load_time
-------------------------------
2022-05-05 14:33:02.197289+08
(1 row)pg_my_temp_schema()
describe : Temporary mode of the session OID, If not, it is 0.
return type :oid
Example :
gbase=# SELECT pg_my_temp_schema();
pg_my_temp_schema
-------------------
0
(1 row)remarks :pg_my_temp_schema Returns the temporary mode in the current session OID, If it doesn't exist ( No temporary table created ) Then return to 0. If given OID It is temporary mode in other sessions OID,pg_is_other_temp_schema Then return to true.
pg_is_other_temp_schema(oid)
describe : Whether it is the temporary mode of another session .
return type :Boolean
Example :
gbase=# SELECT pg_is_other_temp_schema(25356);
pg_is_other_temp_schema
-------------------------
f
(1 row)pg_listening_channels()
describe : The name of the channel on which the session is listening .
return type :setof text
Example :
gbase=# SELECT pg_listening_channels();
pg_listening_channels
-----------------------
(0 rows)remarks :pg_listening_channels Returns a set of channel names that the current session is listening on .
pg_postmaster_start_time()
describe : Server startup time .pg_postmaster_start_time Return to when the server starts timestamp with time zone.
return type :timestamp with time zone
Example :
gbase=# SELECT pg_postmaster_start_time();
pg_postmaster_start_time
-------------------------------
2022-05-05 11:59:14.394307+08
(1 row)pg_get_ruledef(rule_oid)
describe : Get the of the rule CREATE RULE command .
return type :text
Example :
gbase=# select * from pg_get_ruledef(24828);
pg_get_ruledef
----------------
-
(1 row)边栏推荐
- A lot of happiness in learning
- mysql数据库基础
- L2TP的LAC自动拨号实验
- 【微信小程序】拍卖商品详情页设计与交互实现(包含倒计时、实时更新出价)
- [translation] Introduction to go RPC: Hello World
- GBase 8c 访问权限访问函数(四)
- Linked list - 206. Reverse linked list (this question is very important)
- 【Android Kotlin】Property、Getter 和 Setter
- Pipeline pipeline project is built by declarative and jenkinsfile under Jenkins
- GBase 8c 会话信息函数(六)
猜你喜欢

Esp8266 - at command + network transparent transmission

php实现 Stripe订阅

Sentinel link mode flow control failure solution

总结谋划明方向 凝心聚力开新局——和数软件对口援疆项目显成效

Space shooting lesson 07: add graphics

Take stock of 10 new layer1 to prepare for the next bull market

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

Jenkins uses sonarqube to build pipeline code review project

Scheme for importing XMIND use cases into tapd (with code)

Deep learning 9 basic concepts of feedforward neural networks
随机推荐
STL案例-评委打分
Blog expression Encyclopedia
NGFW portal authentication experiment
docker 拉取redis镜像 并运行
I like investing
GBase 8c模式可见性查询函数(二)
Pytest interface automated testing framework | how to get help
It basic English
Redis分布式锁待续
[translation] Introduction to go RPC: Hello World
GBase 8c 位串操作符(一)
文本和图片的绘制、数据存储、localStorage、sessionStorage、cookie三者的区别
Realize the function of uploading and downloading files and directories similar to RZ and SZ on the native terminal
Automatic escape processing in JMeter
Pytorch with torch no_ grad(): && model.eval()
Space shooting lesson 08: improved collision
[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area
进步成长的快乐
C语言详解系列——函数的认识(2)如何使用函数实现交换两个整型变量的值
STL case - judges' scoring