当前位置:网站首页>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).
边栏推荐
- leetcode961. Find the elements repeated N times in the array with length 2n
- 基于线程池的生产者消费者模型(含阻塞队列)
- Stm32f407 ------- IIC communication protocol
- Thread safe singleton mode
- 创建+注册 子应用_定义路由,全局路由与子路由
- Su Shimin: 25 principles of work and life
- How do it students find short-term internships? Which is better, short-term internship or long-term internship?
- PyTorch 卷积网络正则化 DropBlock
- Word word word
- GBase 8c系统表pg_database
猜你喜欢

UDP receive queue and multiple initialization test

stm32F407-------IIC通讯协议

How to deal with cache hot key in redis

Detailed introduction to the deployment and usage of the Nacos registry

easyPOI

Restcloud ETL cross database data aggregation operation

面试项目技术栈总结

stm32F407-------DMA
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)

easyExcel
随机推荐
stm32F407-------ADC
GBase 8c 触发器(一)
Use go language to realize try{}catch{}finally
easyPOI
Gbase 8C system table PG_ authid
4. Classes and objects
SPI机制
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt
javeScript 0.1 + 0.2 == 0.3的问题
Unrecognized SSL message, plaintext connection?
Restcloud ETL cross database data aggregation operation
The Sandbox阐释对元宇宙平台的愿景
What are the key points often asked in the redis interview
easyPOI
Socket编程
Javescript 0.1 + 0.2 = = 0.3 problem
Thread safe singleton mode
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque