Module common_pg

Source
Expand description

Some common postgresql initialization helper methods 一些公共的PostgreSQL初始化辅助方法

Functions§

check_schema_exit
Check if the schema exists 检查schema是否存在
check_table_exit
Check if the table exists 检查表是否存在
create_schema
Create schema 创建schema
get_schema_name_from_context
Get the schema name from the context 从上下文中获取schema名称
get_schema_name_from_ext
Get the schema name from the extension 从扩展中获取schema名称
get_table_full_name
Get the table full name from the extension 根据入参生成对应表全限定名
init
Initialize the backend implementation instance of PostgreSQL 初始化PostgreSQL的后端实现实例
init_conn
Initialize connection 初始化连接
init_table
Initialize table 初始化表
init_table_and_conn
Initialize the table and connection 初始化表和连接
package_table_name
Get the formatted table name 获取格式化后的表名
set_schema_name_to_ext
Set the schema name to the extension 将schema名称设置到扩展中
set_schema_to_session
Set the schema to the session 将schema设置到会话中