当前位置:网站首页>Gbase 8C function / stored procedure parameters (II)
Gbase 8C function / stored procedure parameters (II)
2022-07-03 02:22:00 【Dazhuang twelve】
- RETURNS NULL ON NULL INPUT | STRICT:RETURNS NULL ON NULL INPUT or STRICT Used to specify if a parameter of the function is NULL, This function always returns NULL. If this parameter is declared , When there is NULL Value parameter, the function will not be executed ; It just returns one automatically NULL result ;
- [EXTERNAL] SECURITY INVOKER: Indicates that the function will execute with the permission of the user who calls it , This parameter can be omitted ,EXTERNAL Is an optional parameter ;
- [EXTERNAL] SECURITY DEFINER: Declare that the function will execute with the privileges of the user who created it EXTERNAL Is an optional parameter ;
- PARALLEL: Indicates whether the function can be pushed down to DN On the implementation .PARALLEL UNSAFE Indicates that the function cannot be pushed down to DN Execute on and enforce the use of sequential execution plans , For default options ;PARALLEL RESTRICTED Indicates that the function can be pushed down to DN On the implementation , But the requirement must be in DN Leader On the implementation ;PARALLEL SAFE Indicates that the function can be pushed down to DN On the implementation , Safe and unrestricted ;
- execution_cost: Used to estimate the execution cost of the function ,execution_cost With cpu_operator_cost In units of , The value range is positive ;
- result_rows: Estimate the number of rows returned by the function , What is used for function return is a set , The value range is positive , The default value is 1000 That's ok ;
- configuration_parameter: Set the specified database session parameter value to the given value , If value yes DEFAULT perhaps RESET, The default settings of the system are used in the new session .OFF Turn off settings , The value range is string ;
- definition: Define the string constant of this function , It can be an internal function name 、 The path of the object file 、SQL Commands or text written in procedural language ;
- obj_file, link_symbol: Apply to C Language functions , character string obj_file Specifies the absolute path of the dynamic library ;link_symbol Specifies the link symbol of the function , That is, the function is in C The name of the function in the code ;
- attribute: Function optional information , Value range :isStrict( Equivalent to STRICT perhaps RETURNS NULL ON NULL INPUT)、isCachable( Equivalent to IMMUTABLE).
边栏推荐
- Tongda OA homepage portal workbench
- Coroutinecontext in kotlin
- Detailed analysis of micro service component sentinel (hystrix)
- What are MySQL locks and classifications
- Leetcode 183 Customers who never order (2022.07.02)
- The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
- How to deal with cache hot key in redis
- GBase 8c系统表-pg_conversion
- My creation anniversary
- Distributed transaction solution
猜你喜欢

4. Classes and objects

返回一个树形结构数据

Awk from introduction to earth (0) overview of awk

Detailed introduction to the deployment and usage of the Nacos registry

4. 类和对象

Introduce in detail how to communicate with Huawei cloud IOT through mqtt protocol

Restcloud ETL cross database data aggregation operation

y54.第三章 Kubernetes从入门到精通 -- ingress(二七)

What are the key points often asked in the redis interview

Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt
随机推荐
The Sandbox阐释对元宇宙平台的愿景
How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?
[shutter] pull the navigation bar sideways (drawer component | pageview component)
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
GBase 8c系统表pg_cast
require.context
String replace space
Leetcode (540) -- a single element in an ordered array
面试项目技术栈总结
Startup mode and scope builder of collaboration in kotlin
Method of removing webpage scroll bar and inner and outer margins
详细些介绍如何通过MQTT协议和华为云物联网进行通信
es6 filter() 数组过滤方法总结
easyExcel
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
Word word word
Socket编程
The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
iptables 4层转发
GBase 8c系统表-pg_amproc