当前位置:网站首页>GBase 8c 配置设置函数
GBase 8c 配置设置函数
2022-07-27 23:56:00 【大壮十二】
配置设置函数是可以用于查询以及修改运行时配置参数的函数。
current_setting(setting_name)
描述:当前的设置值。
返回值类型:text
备注:current_setting用于以查询形式获取setting_name的当前值。和SQL语句SHOW是等效的。比如:
gbase=# SELECT current_setting('datestyle');
current_setting
-----------------
ISO, MDY
(1 row)
set_working_grand_version_num_manually(tmp_version)
描述:通过切换授权版本号来更新和升级数据库的新特性。
返回值类型:void
shell_in(type)
描述: 为shell类型输入路由(那些尚未填充的类型)。
返回值类型:void
shell_out(type)
描述:为shell 类型输出路由(那些尚未填充的类型)。
返回值类型:void
set_config(setting_name, new_value, is_local)
描述:设置参数并返回新值。
返回值类型:text
备注:set_config将参数setting_name设置为new_value。如果is_local为true,则new_value将只应用于当前事务。如果希望new_value应用于当前会话,可以使用false,和SQL语句SET是等效的。例如:
gbase=# SELECT set_config('log_statement_stats', 'off', false);
set_config
------------
off
(1 row)
边栏推荐
- “你“想当测试/开发程序员吗?努力发芽的我们......
- Dart 代码注释和文档编写规范
- Day 013 one dimensional array exercise
- Introduction to routing strategy
- Sort out SQL performance optimization and collect classics!
- 自定义事件
- LeetCode 2341. 数组能形成多少数对
- Leetcode: 515. Find the maximum value in each tree row
- How tormenting are weekly and monthly reports? Universal report template recommended collection! (template attached)
- Load balancing SLB
猜你喜欢

Qlib tutorial - based on source code (II) local data saving and loading

数商云供应链集采管理系统解决方案:集采系统管理模式,数字化管控企业物资

以“数字化渠道”撬动家用电器消费蓝海,经销商在线系统让企业生意更进一步

梳理 SQL 性能优化,收藏经典!

Data warehouse construction - DWS floor

Redis 5 种基本数据结构

String

Blizzard Diablo 4 ps5 / PS4 beta added to Playstation database

总结:Prometheus存储

Can anime characters become "real people"? Paddegan helps you find the TA of "tear man"
随机推荐
IIC read / write eefprom
同心向前,Google Play 十周年啦!
LeetCode 2347. 最好的扑克手牌
Software testing interview question: where do your performance testing requirements come from?
Thoroughly understand kubernetes scheduling framework and plug-ins
Discussion on PHP using some functions bypass WAF
喜欢听的歌曲
企业运维实践-使用Aliyun容器镜像服务对海外gcr、quay仓库镜像进行镜像拉取构建
Lambda表达式和Stream流
伦敦银开盘时间知多少
Dart 代码注释和文档编写规范
String
Blizzard Diablo 4 ps5 / PS4 beta added to Playstation database
Software test interview question: think_ What is the function of time?
面试题 01.09. 字符串轮转
软件测试面试题:你们的性能测试需求哪里来?
华为“天才少年”稚晖君又出新作,从零开始造“客制化”智能键盘
Unity 通用红点系统
Linux系统彻底删除Mysql
PHP利用某些函数bypass waf探讨