↑↓ 选择 ↵ 打开 ⌫ 改范围 完整检索页

pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。

百科 / 函数百科 / 系统信息函数和操作符

FUNCTION系统信息函数和操作符

pg_my_temp_schema

返回当前会话的临时模式的OID,如果没有则返回0(因为它没有创建任何临时表)。

Returns the OID of the current session's temporary schema, or zero if it has none (because it has not created any temporary tables).

系统信息函数和操作符 引入 9.0(基线) 现存至 20 devel 1 条签名 0 次签名变更

签名数
1 条
引入版本
9.0(基线)
状态
现存
签名变更
未变过
本版来源
本站译文

PostgreSQL 18 手册 · 9.27 系统信息函数和操作符 官方文档

版本轨迹

相对 PostgreSQL 17 无变化。

签名

PostgreSQL 18 里 pg_my_temp_schema 的 1 条签名,按上游手册顺序排列。参数名用斜体,类型用弱化色, 之后是返回类型。说明取自本站手册译文:标「沿用」的借用了另一版的译文,标「EN」的本站暂无译文、按英文原文显示。

  1. pg_my_temp_schema () → oid

    返回当前会话的临时模式的OID,如果没有则返回0(因为它没有创建任何临时表)。

演化历史

相邻两个大版本之间的差异,新的在前。版本号链到该版的签名。

  1. PostgreSQL 13 ← 12 手册重排

    这一跳手册重排了函数表的写法,签名文本整体改写,只记函数的增删,不逐条比较签名。

签名矩阵

每条签名在给出了签名的 18 个版本里的存在情况;方格指向该版的签名。只在正文里提到此函数、没有给出签名的版本不列进来,上面的版本轨迹里仍然有它们。签名文本在 PostgreSQL 13 前后写法不同,跨越那一跳的同一条签名会显示成两行。

存在 不存在

签名 9.09.19.29.39.49.59.61011121314151617181920
pg_my_temp_schema ( ) → oid 存在 存在 存在 存在 存在 存在 存在 存在 存在 存在 不存在 不存在 不存在 不存在 不存在 不存在 不存在 不存在
pg_my_temp_schema () → oid 不存在 不存在 不存在 不存在 不存在 不存在 不存在 不存在 不存在 不存在 存在 存在 存在 存在 存在 存在 存在 存在

同组函数

函数 签名 主签名 版本变动 最近变更
SYSTEM INFORMATION FUNCTIONS AND OPERATORS 系统信息函数和操作符 145 个 ↗
acldefault 1 acldefault ( type "char", ownerId oid ) → aclitem[] —
构造一个aclitem数组,保存类型为type、属于 OID 为ownerId的角色的对象的默认访问权限。 现存
aclexplode 1 aclexplode ( aclitem[] ) → setof record ( grantor oid, grantee oid, privilege_type text, is_grantable boolean ) —
以行集的形式返回aclitem数组。 现存
col_description基线 1 col_description ( table oid, column integer ) → text —
返回表列的注释,列由所属表的 OID 和列号指定。 现存
current_catalog基线 1 current_catalog → name —
返回当前数据库的名称。 现存
current_database基线 1 current_database () → name —
返回当前数据库的名称。 现存
current_query基线 1 current_query () → text —
返回客户端提交的当前正在执行的查询文本(可能包含多条语句)。 现存
current_role 1 current_role → name —
这个等同于 current_user。 现存
current_schema基线 2 current_schema → name —
返回在搜索路径中的第一个模式的名称(如果搜索路径为空则返回空值)。 现存
current_schemas基线 1 current_schemas ( include_implicit boolean ) → name[] —
返回当前有效搜索路径中所有模式名称的数组,按优先级排序。 现存
current_user基线 1 current_user → name —
返回当前执行上下文的用户名。 现存
format_type基线 1 format_type ( type oid, typemod integer ) → text —
返回由其类型OID和可能的类型修饰符标识的数据类型的SQL名称。 现存
has_any_column_privilege基线 1 has_any_column_privilege ( [user name or oid, ] table text or oid, privilege text ) → boolean —
用户是否对表的至少一列具有权限?如果拥有整个表的权限,或至少一列获得了该权限的列级授权,则返回真。 现存
has_column_privilege基线 1 has_column_privilege ( [user name or oid, ] table text or oid, column text or smallint, privilege text ) → boolean —
用户对指定的表列有权限么?如果对整个表持有权限,或者对列授予了列级别的权限,则会成功。 现存
has_database_privilege基线 1 has_database_privilege ( [user name or oid, ] database text or oid, privilege text ) → boolean —
用户对数据库有权限吗?允许的权限类型为CREATE、CONNECT、TEMPORARY 和 TEMP(相当于 TEMPORARY)。 现存
has_foreign_data_wrapper_privilege基线 1 has_foreign_data_wrapper_privilege ( [user name or oid, ] fdw text or oid, privilege text ) → boolean —
用户是否具有外部数据包装器权限?唯一允许的权限类型为USAGE。 现存
has_function_privilege基线 1 has_function_privilege ( [user name or oid, ] function text or oid, privilege text ) → boolean —
用户对函数有权限吗?唯一允许的权限类型是EXECUTE。 现存
has_language_privilege基线 1 has_language_privilege ( [user name or oid, ] language text or oid, privilege text ) → boolean —
用户对语言有权限吗?唯一允许的权限类型是USAGE。 现存
has_largeobject_privilege 1 has_largeobject_privilege ( [user name or oid, ] largeobject oid, privilege text ) → boolean —
用户是否拥有大对象的权限?可用的权限类型是 SELECT 和 UPDATE。 现存
has_parameter_privilege 1 has_parameter_privilege ( [user name or oid, ] parameter text, privilege text ) → boolean —
用户是否具有配置参数的权限?参数名称不区分大小写。 现存
has_schema_privilege基线 1 has_schema_privilege ( [user name or oid, ] schema text or oid, privilege text ) → boolean —
用户对模式有权限吗?允许的权限类型是CREATE 和USAGE。 现存
has_sequence_privilege基线 1 has_sequence_privilege ( [user name or oid, ] sequence text or oid, privilege text ) → boolean —
用户是否具有序列权限?允许的权限类型为USAGE、SELECT和UPDATE。 现存
has_server_privilege基线 1 has_server_privilege ( [user name or oid, ] server text or oid, privilege text ) → boolean —
用户是否对外部服务器有权限?唯一允许的权限类型是USAGE。 现存
has_table_privilege基线 1 has_table_privilege ( [user name or oid, ] table text or oid, privilege text ) → boolean —
用户对表有权限吗?允许的权限类型有SELECT、INSERT、UPDATE、DELETE、TRUNCATE、REFERENCES、TRIGGER和MAINTAIN。 现存
has_tablespace_privilege基线 1 has_tablespace_privilege ( [user name or oid, ] tablespace text or oid, privilege text ) → boolean —
用户对表空间有权限吗?唯一允许的权限类型是CREATE。 现存
has_type_privilege 1 has_type_privilege ( [user name or oid, ] type text or oid, privilege text ) → boolean —
用户对数据类型有权限吗?唯一允许的权限类型是 USAGE。 现存
icu_unicode_version 1 icu_unicode_version () → text —
如果服务器在构建时启用了 ICU 支持,则返回一个表示 ICU 所使用的 Unicode 版本的字符串;否则返回 NULL。 现存
inet_client_addr基线 1 inet_client_addr () → inet —
返回当前客户端的 IP 地址;如果当前连接通过 Unix 域套接字建立,则返回NULL。 现存
inet_client_port基线 1 inet_client_port () → integer —
返回当前客户端的IP端口号,如果当前连接是通过Unix 域套接字则返回NULL。 现存
inet_server_addr基线 1 inet_server_addr () → inet —
返回服务器接受当前连接的IP地址,如果当前连接是通过Unix 域套接字则返回NULL。 现存
inet_server_port基线 1 inet_server_port () → integer —
返回服务器接受当前连接的IP端口号,如果当前连接是通过Unix 域套接字则返回NULL。 现存
makeaclitem 1 makeaclitem ( grantee oid, grantor oid, privileges text, is_grantable boolean ) → aclitem —
使用给定的属性构造aclitem。 现存
mxid_age 1 mxid_age ( xid ) → integer —
返回给定多事务 ID 与当前多事务计数器之间的多事务 ID 数。 现存
obj_description基线 2 obj_description ( object oid, catalog name ) → text —
返回数据库对象的注释,对象由其 OID 和所在系统目录的名称指定。 现存
pg_available_wal_summaries 1 pg_available_wal_summaries () → setof record ( tli bigint, start_lsn pg_lsn, end_lsn pg_lsn ) —
返回数据目录中 pg_wal/summaries下现有 WAL 汇总文件的信息。 现存
pg_backend_pid基线 1 pg_backend_pid () → integer —
返回附加到当前会话的服务器进程的进程ID。 现存
pg_basetype 1 pg_basetype ( regtype ) → regtype —
返回由类型 OID 标识的域的基础类型 OID。 现存
pg_blocking_pids 1 pg_blocking_pids ( integer ) → integer[] —
返回一个数组,包含阻止指定进程 ID 对应的服务器进程获取锁的会话进程 ID;如果不存在这样的服务器进程,或该进程未被阻塞,则返回空数组。 现存
pg_char_to_encoding 1 pg_char_to_encoding ( encoding name ) → integer —
将提供的编码名称转换为表示在某些系统目录表中使用的内部标识符的整数。 现存
pg_collation_is_visible 1 pg_collation_is_visible ( collation oid ) → boolean —
排序规则在搜索路径中可见吗? 现存
pg_conf_load_time基线 1 pg_conf_load_time () → timestamp with time zone —
返回服务器配置文件最近一次加载的时间。 现存
pg_control_checkpoint 1 pg_control_checkpoint () → record —
返回有关当前检查点状态的信息,如表 9.90所展示。 现存
pg_control_init 1 pg_control_init () → record —
返回有关集簇初始化状态的信息,如表 9.92所展示。 现存
pg_control_recovery 1 pg_control_recovery () → record —
返回有关恢复状态的信息,如表 9.93所展示。 现存
pg_control_system 1 pg_control_system () → record —
返回有关当前控制文件状态的信息,如表 9.91所展示。 现存
pg_conversion_is_visible基线 1 pg_conversion_is_visible ( conversion oid ) → boolean —
转换在搜索路径中可见吗? 现存
pg_current_logfile 1 pg_current_logfile ( [text] ) → text —
返回当前由日志收集器使用的日志文件的路径名。 现存
pg_current_snapshot 1 pg_current_snapshot () → pg_snapshot —
返回当前快照,即显示哪些事务 ID 正在进行中的数据结构。 现存
pg_current_xact_id 1 pg_current_xact_id () → xid8 —
返回当前事务的ID。 现存
pg_current_xact_id_if_assigned 1 pg_current_xact_id_if_assigned () → xid8 —
返回当前事务的 ID;如果尚未分配 ID,则返回NULL。 现存
pg_describe_object 1 pg_describe_object ( classid oid, objid oid, objsubid integer ) → text 9.51 次
返回数据库对象的文本描述,对象由系统目录 OID、对象 OID 和子对象 ID 指定(例如表中的列号;引用整个对象时,子对象 ID 为零)。 现存
pg_encoding_to_char 1 pg_encoding_to_char ( encoding integer ) → name —
将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。 现存
pg_function_is_visible基线 1 pg_function_is_visible ( function oid ) → boolean —
函数在搜索路径中可见吗?(这也适用于过程和聚合。 现存
pg_get_acl 1 pg_get_acl ( classid oid, objid oid, objsubid integer ) → aclitem[] —
返回由系统目录 OID、对象 OID 和子对象 ID 指定的数据库对象的ACL。 现存
pg_get_catalog_foreign_keys 1 pg_get_catalog_foreign_keys () → setof record ( fktable regclass, fkcols text[], pktable regclass, pkcols text[], is_array boolean, is_opt boolean ) —
返回一组记录,描述存在于PostgreSQL系统目录中的外键关系。 现存
pg_get_constraintdef基线 1 pg_get_constraintdef ( constraint oid [, pretty boolean] ) → text —
重建约束的创建命令。 现存
pg_get_database_ddl 1 pg_get_database_ddl ( database regdatabase [, pretty boolean DEFAULT false] [, owner boolean DEFAULT true] [, tablespace boolean DEFAULT true] ) → setof text —
重建指定数据库的CREATE DATABASE语句,随后返回用于连接数上限、模板状态和配置设置的 ALTER DATABASE语句。 现存
pg_get_expr基线 1 pg_get_expr ( expr pg_node_tree, relation oid [, pretty boolean] ) → text 9.11 次
反编译存储在系统目录中的表达式的内部形式,例如列的默认值。 现存
pg_get_function_arguments基线 1 pg_get_function_arguments ( func oid ) → text —
重建函数或过程的参数列表,采用其在CREATE FUNCTION中应有的形式(包括默认值)。 现存
pg_get_function_identity_arguments基线 1 pg_get_function_identity_arguments ( func oid ) → text —
重建标识函数或过程所需的参数列表,采用其在ALTER FUNCTION等命令中应有的形式。 现存
pg_get_function_result基线 1 pg_get_function_result ( func oid ) → text —
重建函数的RETURNS子句,采用其在CREATE FUNCTION中应有的形式。 现存
pg_get_functiondef基线 1 pg_get_functiondef ( func oid ) → text —
重建函数或过程的创建命令。 现存
pg_get_indexdef基线 1 pg_get_indexdef ( index oid [, column integer, pretty boolean] ) → text —
重建索引的创建命令。 现存
pg_get_keywords基线 1 pg_get_keywords () → setof record ( word text, catcode "char", barelabel boolean, catdesc text, baredesc text ) 141 次
返回描述服务器所识别 SQL 关键字的一组记录。 现存
pg_get_loaded_modules 1 pg_get_loaded_modules () → setof record ( module_name text, version text, file_name text ) —
返回当前服务器会话中已加载的可加载模块列表。 现存
pg_get_multixact_members 1 pg_get_multixact_members ( multixid xid ) → setof record ( xid xid, mode text ) —
返回指定多事务 ID 中每个成员的事务 ID 和锁模式。 现存
pg_get_multixact_stats 1 pg_get_multixact_stats () → record ( num_mxids integer, num_members bigint, members_size bigint, oldest_multixact xid ) —
返回当前多事务使用情况的统计信息:num_mxids 是系统中当前存在的多事务 ID 总数,num_members 是系统中当前存在的多事务成员条目总数,members_size 是 pg_multixact/members 目录中 num_members 占用的存储空间,oldest_multixact 是仍在使用的最旧多事务 ID。 现存
pg_get_object_address 1 pg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer ) 111 次
返回一行,其中包含足以唯一标识数据库对象的信息,该对象由类型代码、对象名称数组和参数数组指定。 现存
pg_get_partition_constraintdef 1 pg_get_partition_constraintdef ( table oid ) → text —
重建分区约束的定义。 现存
pg_get_partkeydef 1 pg_get_partkeydef ( table oid ) → text —
重建分区表的分区键定义,采用其在CREATE TABLE的PARTITION BY子句中的形式。 现存
pg_get_role_ddl 1 pg_get_role_ddl ( role regrole [, pretty boolean DEFAULT false] [, memberships boolean DEFAULT true] ) → setof text —
重建给定角色的CREATE ROLE 语句以及任何ALTER ROLE ... SET 语句。 现存
pg_get_ruledef基线 1 pg_get_ruledef ( rule oid [, pretty boolean] ) → text —
重建规则的创建命令。 现存
pg_get_serial_sequence基线 1 pg_get_serial_sequence ( table text, column text ) → text —
返回与列相关联的序列名称,如果没有序列与该列相关联则返回NULL。 现存
pg_get_statisticsobjdef 1 pg_get_statisticsobjdef ( statobj oid ) → text —
重建扩展统计对象的创建命令。 现存
pg_get_tablespace_ddl 2 pg_get_tablespace_ddl ( tablespace oid [, pretty boolean DEFAULT false] [, owner boolean DEFAULT true] ) → setof text —
重建指定表空间(按 OID 或名称指定)的CREATE TABLESPACE语句。 现存
pg_get_triggerdef基线 1 pg_get_triggerdef ( trigger oid [, pretty boolean] ) → text —
重建触发器的创建命令。 现存
pg_get_userbyid基线 1 pg_get_userbyid ( role oid ) → name —
根据OID返回角色名。 现存
pg_get_viewdef基线 3 pg_get_viewdef ( view oid [, pretty boolean] ) → text 9.21 次
重建定义视图或物化视图的SELECT命令。 现存
pg_get_wal_summarizer_state 1 pg_get_wal_summarizer_state () → record ( summarized_tli bigint, summarized_lsn pg_lsn, pending_lsn pg_lsn, summarizer_pid int ) —
返回有关 WAL 汇总器进度的信息。 现存
pg_has_role基线 1 pg_has_role ( [user name or oid, ] role text or oid, privilege text ) → boolean —
用户是否具有角色权限?允许的权限类型为MEMBER、USAGE和SET。 现存
pg_identify_object 1 pg_identify_object ( classid oid, objid oid, objsubid integer ) → record ( type text, schema text, name text, identity text ) 9.51 次
返回一行,其中包含足以唯一标识数据库对象的信息,该对象由系统目录 OID、对象 OID 和子对象 ID 指定。 现存
pg_identify_object_as_address 1 pg_identify_object_as_address ( classid oid, objid oid, objsubid integer ) → record ( type text, object_names text[], object_args text[] ) —
返回一行,其中包含足以唯一标识数据库对象的信息,该对象由系统目录 OID、对象 OID 和子对象 ID 指定。 现存
pg_index_column_has_property 1 pg_index_column_has_property ( index regclass, column integer, property text ) → boolean —
测试一个索引列是否具有指定名称的属性。 现存
pg_index_has_property 1 pg_index_has_property ( index regclass, property text ) → boolean —
测试一个索引是否具有指定名称的属性。 现存
pg_indexam_has_property 1 pg_indexam_has_property ( am oid, property text ) → boolean —
测试索引访问方法是否具有指定名称的属性。 现存
pg_input_error_info 1 pg_input_error_info ( string text, type text ) → record ( message text, detail text, hint text, sql_error_code text ) —
测试给定的string是否是指定数据类型的有效输入;如果不是,则返回本应抛出的错误详情。 现存
pg_input_is_valid 1 pg_input_is_valid ( string text, type text ) → boolean —
测试给定的string是否是指定数据类型的有效输入,返回 true 或 false。 现存
pg_is_other_temp_schema基线 1 pg_is_other_temp_schema ( oid ) → boolean —
如果给定的OID是另一个会话的临时模式的OID则返回真。 现存
pg_jit_available 1 pg_jit_available () → boolean —
如果JIT编译器扩展可用(参见第 30 章),并且jit配置参数设置为on,则返回真。 现存
pg_last_committed_xact 1 pg_last_committed_xact () → record ( xid xid, timestamp timestamp with time zone, roident oid ) 141 次
返回最近提交事务的事务 ID、提交时间戳和复制源。 现存
pg_listening_channels基线 1 pg_listening_channels () → setof text —
返回当前会话正在侦听的异步通知通道的名称集。 现存
pg_my_temp_schema基线 1 pg_my_temp_schema () → oid —
返回当前会话的临时模式的OID,如果没有则返回0(因为它没有创建任何临时表)。 现存
pg_notification_queue_usage 1 pg_notification_queue_usage () → double precision —
返回待处理通知当前占用的空间占异步通知队列最大容量的比例(0–1)。 现存
pg_numa_available 1 pg_numa_available () → boolean —
如果服务器在编译时启用了 NUMA 支持,则返回真。 现存
pg_opclass_is_visible基线 1 pg_opclass_is_visible ( opclass oid ) → boolean —
操作符类在搜索路径中可见吗? 现存
pg_operator_is_visible基线 1 pg_operator_is_visible ( operator oid ) → boolean —
操作符在搜索路径中可见吗? 现存
pg_opfamily_is_visible 1 pg_opfamily_is_visible ( opclass oid ) → boolean —
操作符族在搜索路径中可见吗? 现存
pg_options_to_table 1 pg_options_to_table ( options_array text[] ) → setof record ( option_name text, option_value text ) —
返回源自pg_class.reloptions 或 pg_attribute.attoptions的值表示的存储选项集。 现存
pg_postmaster_start_time基线 1 pg_postmaster_start_time () → timestamp with time zone —
返回服务器启动时的时间。 现存
pg_safe_snapshot_blocking_pids 1 pg_safe_snapshot_blocking_pids ( integer ) → integer[] —
返回一个数组,包含阻止指定进程 ID 对应的服务器进程获取安全快照的会话进程 ID;如果不存在这样的服务器进程,或该进程未被阻塞,则返回空数组。 现存
pg_settings_get_flags 1 pg_settings_get_flags ( guc text ) → text[] —
返回与给定 GUC 关联的标志数组;如果该 GUC 不存在,则返回NULL。 现存
pg_snapshot_xip 1 pg_snapshot_xip ( pg_snapshot ) → setof xid8 —
返回快照中包含的正在进行的事务 ID集。 现存
pg_snapshot_xmax 1 pg_snapshot_xmax ( pg_snapshot ) → xid8 —
返回快照的xmax。 现存
pg_snapshot_xmin 1 pg_snapshot_xmin ( pg_snapshot ) → xid8 —
返回快照的xmin。 现存
pg_statistics_obj_is_visible 1 pg_statistics_obj_is_visible ( stat oid ) → boolean —
统计对象在搜索路径中可见吗? 现存
pg_table_is_visible基线 1 pg_table_is_visible ( table oid ) → boolean —
表在搜索路径中可见吗?(这适用于所有类型的关系,包括视图、物化视图、索引、序列和外部表。 现存
pg_tablespace_databases基线 1 pg_tablespace_databases ( tablespace oid ) → setof oid —
返回在指定表空间中存储了对象的数据库 OID 集合。 现存
pg_tablespace_location 1 pg_tablespace_location ( tablespace oid ) → text —
返回表空间所在的文件系统路径。 现存
pg_trigger_depth 1 pg_trigger_depth () → integer —
返回PostgreSQL触发器的当前嵌套层级(如果不是从触发器内部直接或间接调用,则为 0)。 现存
pg_ts_config_is_visible基线 1 pg_ts_config_is_visible ( config oid ) → boolean —
全文检索配置是否在搜索路径中可见? 现存
pg_ts_dict_is_visible基线 1 pg_ts_dict_is_visible ( dict oid ) → boolean —
全文检索词典是否在搜索路径中可见? 现存
pg_ts_parser_is_visible基线 1 pg_ts_parser_is_visible ( parser oid ) → boolean —
全文检索解析器是否在搜索路径中可见? 现存
pg_ts_template_is_visible基线 1 pg_ts_template_is_visible ( template oid ) → boolean —
全文检索模板是否在搜索路径中可见? 现存
pg_type_is_visible基线 1 pg_type_is_visible ( type oid ) → boolean —
类型(或域)在搜索路径中可见吗? 现存
pg_typeof基线 1 pg_typeof ( "any" ) → regtype —
返回所传入值的数据类型的 OID。 现存
pg_visible_in_snapshot 1 pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean —
根据此快照,给定的事务 ID 是否可见(即该事务是否在生成快照之前完成)?注意,此函数无法为子事务 ID(subxid)给出正确结果;详见第 67.3 节。 现存
pg_wal_summary_contents 1 pg_wal_summary_contents ( tli bigint, start_lsn pg_lsn, end_lsn pg_lsn ) → setof record ( relfilenode oid, reltablespace oid, reldatabase oid, relforknumber smallint, relblocknumber bigint, is_limit_block boolean ) —
返回由 TLI 以及起始和结束 LSN 标识的单个 WAL 汇总文件内容的信息。 现存
pg_xact_commit_timestamp 1 pg_xact_commit_timestamp ( xid ) → timestamp with time zone —
返回事务的提交时间戳。 现存
pg_xact_commit_timestamp_origin 1 pg_xact_commit_timestamp_origin ( xid ) → record ( timestamp timestamp with time zone, roident oid) —
返回事务的提交时间戳和复制源。 现存
pg_xact_status 1 pg_xact_status ( xid8 ) → text —
报告近期事务的提交状态。 现存
row_security_active 1 row_security_active ( table text or oid ) → boolean —
在当前用户和当前环境的上下文中,指定表的行级安全是否生效? 现存
session_user基线 1 session_user → name —
返回会话用户名。 现存
shobj_description基线 1 shobj_description ( object oid, catalog name ) → text —
返回共享数据库对象的注释,对象由其 OID 和所在系统目录的名称指定。 现存
system_user 1 system_user → text —
返回用户在被分配数据库角色之前,于认证周期中提供的认证方法和身份(如果有)。 现存
to_regclass 1 to_regclass ( text ) → regclass —
将文本关系名转换为它的OID。 现存
to_regcollation 1 to_regcollation ( text ) → regcollation —
将文本排序规则名称转换为它的OID。 现存
to_regdatabase 1 to_regdatabase ( text ) → regdatabase —
将文本数据库名转换为它的OID。 现存
to_regnamespace 1 to_regnamespace ( text ) → regnamespace —
将文本模式名转换为它的OID。 现存
to_regoper 1 to_regoper ( text ) → regoper —
将文本操作符名称转换为它的OID。 现存
to_regoperator 1 to_regoperator ( text ) → regoperator —
将文本操作符名称(带有参数类型)转换为其OID。 现存
to_regproc 1 to_regproc ( text ) → regproc —
将文本函数或过程名转换为其OID。 现存
to_regprocedure 1 to_regprocedure ( text ) → regprocedure —
将文本函数或过程名(带有参数类型)转换为其OID。 现存
to_regrole 1 to_regrole ( text ) → regrole —
将文本角色名转换为它的OID。 现存
to_regtype 1 to_regtype ( text ) → regtype —
解析文本字符串,从中提取可能的类型名,并将该名称转换为类型 OID。 现存
to_regtypemod 1 to_regtypemod ( text ) → integer —
解析文本字符串,从中提取可能的类型名称,并转换其类型修饰符(如果有)。 现存
txid_current基线 1 txid_current () → bigint —
参见 pg_current_xact_id()。 现存
txid_current_if_assigned 1 txid_current_if_assigned () → bigint —
参见 pg_current_xact_id_if_assigned()。 现存
txid_current_snapshot基线 1 txid_current_snapshot () → txid_snapshot —
参见 pg_current_snapshot()。 现存
txid_snapshot_xip基线 1 txid_snapshot_xip ( txid_snapshot ) → setof bigint —
参见 pg_snapshot_xip()。 现存
txid_snapshot_xmax基线 1 txid_snapshot_xmax ( txid_snapshot ) → bigint —
参见 pg_snapshot_xmax()。 现存
txid_snapshot_xmin基线 1 txid_snapshot_xmin ( txid_snapshot ) → bigint —
参见 pg_snapshot_xmin()。 现存
txid_status 1 txid_status ( bigint ) → text —
参见 pg_xact_status()。 现存
txid_visible_in_snapshot基线 1 txid_visible_in_snapshot ( bigint, txid_snapshot ) → boolean —
参见 pg_visible_in_snapshot()。 现存
unicode_version 1 unicode_version () → text —
返回一个表示PostgreSQL所使用的 Unicode 版本的字符串。 现存
user基线 1 user → name —
这个相当于 current_user。 现存
version基线 1 version () → text —
返回描述PostgreSQL 服务器版本的字符串。 现存