PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
分类索引1772
pg_get_database_ddl重建指定数据库的CREATE DATABASE语句,随后返回用于连接数上限、模板状态和配置设置的 ALTER DATABASE语句。
Reconstructs the CREATE DATABASE statement for the specified database, followed by ALTER DATABASE statements for connection…函数 · 系统信息函数和操作符
pg_get_expr反编译存储在系统目录中的表达式的内部形式,例如列的默认值。
Decompiles the internal form of an expression stored in the system catalogs, such as the default value for a column.
pg_get_expr ( expr pg_node_tree, relation o…函数 · 系统信息函数和操作符
pg_get_function_arguments重建函数或过程的参数列表,采用其在CREATE FUNCTION中应有的形式(包括默认值)。
Reconstructs the argument list of a function or procedure, in the form it would need to appear in within CREATE FUNCTION (including default val…函数 · 系统信息函数和操作符
pg_get_function_identity_arguments重建标识函数或过程所需的参数列表,采用其在ALTER FUNCTION等命令中应有的形式。
Reconstructs the argument list necessary to identify a function or procedure, in the form it would need to appear in within commands such as ALT…函数 · 系统信息函数和操作符
pg_get_function_result重建函数的RETURNS子句,采用其在CREATE FUNCTION中应有的形式。
Reconstructs the RETURNS clause of a function, in the form it would need to appear in within CREATE FUNCTION.
pg_get_function_result ( func oid ) → …函数 · 系统信息函数和操作符
pg_get_functiondef重建函数或过程的创建命令。
Reconstructs the creating command for a function or procedure.
pg_get_functiondef ( func oid ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_indexdef重建索引的创建命令。
Reconstructs the creating command for an index.
pg_get_indexdef ( index oid [, column integer, pretty boolean] ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_keywords返回描述服务器所识别 SQL 关键字的一组记录。
Returns a set of records describing the SQL keywords recognized by the server.
pg_get_keywords () → setof record ( word text, catcode "char", barelabel boolean, catd…函数 · 系统信息函数和操作符
pg_get_loaded_modules返回当前服务器会话中已加载的可加载模块列表。
Returns a list of the loadable modules that are loaded into the current server session.
pg_get_loaded_modules () → setof record ( module_name text, version text, file_…函数 · 系统信息函数和操作符
pg_get_multixact_members返回指定多事务 ID 中每个成员的事务 ID 和锁模式。
Returns the transaction ID and lock mode for each member of the specified multixact ID.
pg_get_multixact_members ( multixid xid ) → setof record ( xid xid, mode …函数 · 系统信息函数和操作符
pg_get_multixact_stats返回当前多事务使用情况的统计信息:num_mxids 是系统中当前存在的多事务 ID 总数,num_members 是系统中当前存在的多事务成员条目总数,members_size 是 pg_multixact/members 目录中 num_members 占用的存储空间,oldest_multixact 是仍在使用的最旧多事务 ID。
Returns statistics a…函数 · 系统信息函数和操作符
pg_get_object_address返回一行,其中包含足以唯一标识数据库对象的信息,该对象由类型代码、对象名称数组和参数数组指定。
Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arr…函数 · 系统信息函数和操作符
pg_get_partition_constraintdef重建分区约束的定义。
Reconstructs the definition of a partition constraint.
pg_get_partition_constraintdef ( table oid ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_partkeydef重建分区表的分区键定义,采用其在CREATE TABLE的PARTITION BY子句中的形式。
Reconstructs the definition of a partitioned table's partition key, in the form it would have in the PARTITION BY clause of CREATE TABLE.
pg_…函数 · 系统信息函数和操作符
pg_get_role_ddl重建给定角色的CREATE ROLE 语句以及任何ALTER ROLE ... SET 语句。
Reconstructs the CREATE ROLE statement and any ALTER ROLE ...
pg_get_role_ddl ( role regrole [, pretty boolean DEFAULT false] [, memberships b…函数 · 系统信息函数和操作符
pg_get_ruledef重建规则的创建命令。
Reconstructs the creating command for a rule.
pg_get_ruledef ( rule oid [, pretty boolean] ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_sequence_data返回有关序列的信息。
Returns information about the sequence.
pg_get_sequence_data ( regclass ) → record ( last_value bigint, is_called bool, page_lsn pg_lsn )
序列操作函数函数 · 序列操作函数
pg_get_serial_sequence返回与列相关联的序列名称,如果没有序列与该列相关联则返回NULL。
Returns the name of the sequence associated with a column, or NULL if no sequence is associated with the column.
pg_get_serial_sequence ( table text, column…函数 · 系统信息函数和操作符
pg_get_statisticsobjdef重建扩展统计对象的创建命令。
Reconstructs the creating command for an extended statistics object.
pg_get_statisticsobjdef ( statobj oid ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_tablespace_ddl重建指定表空间(按 OID 或名称指定)的CREATE TABLESPACE语句。
Reconstructs the CREATE TABLESPACE statement for the specified tablespace (by OID or name).
pg_get_tablespace_ddl ( tablespace oid [, pretty boolean…函数 · 系统信息函数和操作符
pg_get_triggerdef重建触发器的创建命令。
Reconstructs the creating command for a trigger.
pg_get_triggerdef ( trigger oid [, pretty boolean] ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_userbyid根据OID返回角色名。
Returns a role's name given its OID.
pg_get_userbyid ( role oid ) → name
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_get_viewdef重建定义视图或物化视图的SELECT命令。
Reconstructs the underlying SELECT command for a view or materialized view.
pg_get_viewdef ( view oid [, pretty boolean] ) → text
pg_get_viewdef ( view oid, wrap_column…函数 · 系统信息函数和操作符
pg_get_wal_replay_pause_state返回恢复暂停状态。
Returns recovery pause state.
pg_get_wal_replay_pause_state () → text
系统管理函数函数 · 系统管理函数
pg_get_wal_resource_managers返回系统中当前加载的 WAL 资源管理器。
Returns the currently-loaded WAL resource managers in the system.
pg_get_wal_resource_managers () → setof record ( rm_id integer, rm_name text, rm_builtin boolean )
系统管…函数 · 系统管理函数
pg_get_wal_summarizer_state返回有关 WAL 汇总器进度的信息。
Returns information about the progress of the WAL summarizer.
pg_get_wal_summarizer_state () → record ( summarized_tli bigint, summarized_lsn pg_lsn, pending_lsn pg_lsn, s…函数 · 系统信息函数和操作符
pg_has_role用户是否具有角色权限?允许的权限类型为MEMBER、USAGE和SET。
Does user have privilege for role? Allowable privilege types are MEMBER, USAGE, and SET.
pg_has_role ( [user name or oid, ] role text or oid, privilege t…函数 · 系统信息函数和操作符
pg_identify_object返回一行,其中包含足以唯一标识数据库对象的信息,该对象由系统目录 OID、对象 OID 和子对象 ID 指定。
Returns a row containing enough information to uniquely identify the database object specified by catalog OID, object OID and sub-obje…函数 · 系统信息函数和操作符
pg_identify_object_as_address返回一行,其中包含足以唯一标识数据库对象的信息,该对象由系统目录 OID、对象 OID 和子对象 ID 指定。
Returns a row containing enough information to uniquely identify the database object specified by catalog OID, object OID and sub-obje…函数 · 系统信息函数和操作符
pg_import_system_collations根据操作系统中找到的所有区域设置,向系统目录pg_collation添加排序规则。
Adds collations to the system catalog pg_collation based on all the locales it finds in the operating system.
pg_import_system_collations ( schema r…函数 · 系统管理函数
pg_index_column_has_property测试一个索引列是否具有指定名称的属性。
Tests whether an index column has the named property.
pg_index_column_has_property ( index regclass, column integer, property text ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_index_has_property测试一个索引是否具有指定名称的属性。
Tests whether an index has the named property.
pg_index_has_property ( index regclass, property text ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_indexam_has_property测试索引访问方法是否具有指定名称的属性。
Tests whether an index access method has the named property.
pg_indexam_has_property ( am oid, property text ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_indexes_size计算附加到指定表的索引所使用的总磁盘空间。
Computes the total disk space used by indexes attached to the specified table.
pg_indexes_size ( regclass ) → bigint
系统管理函数函数 · 系统管理函数
pg_input_error_info测试给定的string是否是指定数据类型的有效输入;如果不是,则返回本应抛出的错误详情。
Tests whether the given string is valid input for the specified data type; if not, return the details of the error that would have been thrown.
p…函数 · 系统信息函数和操作符
pg_input_is_valid测试给定的string是否是指定数据类型的有效输入,返回 true 或 false。
Tests whether the given string is valid input for the specified data type, returning true or false.
pg_input_is_valid ( string text, type text ) → …函数 · 系统信息函数和操作符
pg_is_in_backup如果正在进行在线排他备份,则返回 true。
Returns true if an on-line exclusive backup is in progress.
pg_is_in_backup () → boolean
系统管理函数函数 · 系统管理函数
pg_is_in_recovery如果恢复仍在进行则返回真。
Returns true if recovery is still in progress.
pg_is_in_recovery () → boolean
系统管理函数函数 · 系统管理函数
pg_is_other_temp_schema如果给定的OID是另一个会话的临时模式的OID则返回真。
Returns true if the given OID is the OID of another session's temporary schema.
pg_is_other_temp_schema ( oid ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_is_wal_replay_paused如果已请求暂停恢复,则返回真。
Returns true if recovery pause is requested.
pg_is_wal_replay_paused () → boolean
系统管理函数函数 · 系统管理函数
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开