PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
分类索引1772
pg_is_xlog_replay_paused如果恢复已暂停,则为真。
True if recovery is paused.
pg_is_xlog_replay_paused ( ) → bool
系统管理函数函数 · 系统管理函数
pg_jit_available如果JIT编译器扩展可用(参见第 30 章),并且jit配置参数设置为on,则返回真。
Returns true if a JIT compiler extension is available (see Chapter 30) and the jit configuration parameter is set to on.
pg_jit_available () → boo…函数 · 系统信息函数和操作符
pg_last_committed_xact返回最近提交事务的事务 ID、提交时间戳和复制源。
Returns the transaction ID, commit timestamp and replication origin of the latest committed transaction.
pg_last_committed_xact () → record ( xid xid, timestamp tim…函数 · 系统信息函数和操作符
pg_last_wal_receive_lsn返回流复制最近接收并同步到磁盘的预写式日志位置。
Returns the last write-ahead log location that has been received and synced to disk by streaming replication.
pg_last_wal_receive_lsn () → pg_lsn
系统管理函数函数 · 系统管理函数
pg_last_wal_replay_lsn返回恢复期间最近重放的预写式日志位置。
Returns the last write-ahead log location that has been replayed during recovery.
pg_last_wal_replay_lsn () → pg_lsn
系统管理函数函数 · 系统管理函数
pg_last_xact_replay_timestamp返回恢复期间最近重放事务的时间戳,即该事务的提交或中止 WAL 记录在主库上生成的时间。
Returns the time stamp of the last transaction replayed during recovery.
pg_last_xact_replay_timestamp () → timestamp with time zone
系统管理函数函数 · 系统管理函数
pg_last_xlog_receive_location获取流复制最近接收并同步到磁盘的预写式日志位置。
Get last transaction log location received and synced to disk by streaming replication.
pg_last_xlog_receive_location ( ) → pg_lsn
系统管理函数函数 · 系统管理函数
pg_last_xlog_replay_location获取恢复期间最近重放的预写式日志位置。
Get last transaction log location replayed during recovery.
pg_last_xlog_replay_location ( ) → pg_lsn
系统管理函数函数 · 系统管理函数
pg_listening_channels返回当前会话正在侦听的异步通知通道的名称集。
Returns the set of names of asynchronous notification channels that the current session is listening to.
pg_listening_channels () → setof text
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_log_backend_memory_contexts请求记录具有指定进程 ID 的后端进程的内存上下文。
Requests to log the memory contexts of the backend with the specified process ID.
pg_log_backend_memory_contexts ( pid integer ) → boolean
系统管理函数函数 · 系统管理函数
pg_log_standby_snapshot为进行中的事务拍摄快照并将其写入 WAL,无须等待后台写入器或检查点进程记录快照。
Take a snapshot of running transactions and write it to WAL, without having to wait for bgwriter or checkpointer to log one.
pg_log_standby_snapshot…函数 · 系统管理函数
pg_logical_emit_message发出逻辑解码消息。
Emits a logical decoding message.
pg_logical_emit_message ( transactional boolean, prefix text, content text [, flush boolean DEFAULT false] ) → pg_lsn
pg_logical_emit_message ( tr…函数 · 系统管理函数
pg_logical_slot_get_binary_changes行为就像pg_logical_slot_get_changes()函数,不过改变会以bytea返回。
Behaves just like the pg_logical_slot_get_changes() function, except that changes are returned as bytea.
pg_logical_slot_get_binary_changes…函数 · 系统管理函数
pg_logical_slot_get_changes返回槽 slot_name 中自上次消费更改的位置起的更改。
Returns changes in the slot slot_name, starting from the point from which changes have been consumed last.
pg_logical_slot_get_changes ( slot_name name, upto_l…函数 · 系统管理函数
pg_logical_slot_peek_binary_changes行为就像pg_logical_slot_peek_changes()函数,不过改变会以bytea返回。
Behaves just like the pg_logical_slot_peek_changes() function, except that changes are returned as bytea.
pg_logical_slot_peek_binary_chan…函数 · 系统管理函数
pg_logical_slot_peek_changes行为就像pg_logical_slot_get_changes()函数,不过改变不会被消费,即在未来的调用中还会返回这些改变。
Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be retu…函数 · 系统管理函数
pg_ls_archive_statusdir返回服务器 WAL 归档状态目录(pg_wal/archive_status)中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's WAL archive status direct…函数 · 系统管理函数
pg_ls_dir返回指定目录中所有文件的名称(包括目录及其他特殊文件)。
Returns the names of all files (and directories and other special files) in the specified directory.
pg_ls_dir ( dirname text [, missing_ok boolean, include_dot_…函数 · 系统管理函数
pg_ls_logdir返回服务器日志目录中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's log directory.
pg_ls_logdir () → setof record ( name te…函数 · 系统管理函数
pg_ls_logicalmapdir返回服务器的pg_logical/mappings目录中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's pg_logical/mappings directory.
pg_ls_…函数 · 系统管理函数
pg_ls_logicalsnapdir返回服务器的pg_logical/snapshots目录中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's pg_logical/snapshots directory.
pg_l…函数 · 系统管理函数
pg_ls_replslotdir返回服务器的pg_replslot/slot_name目录中每个普通文件的名称、大小和最后修改时间(mtime),其中slot_name是作为函数输入提供的复制槽的名称。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's pg_repl…函数 · 系统管理函数
pg_ls_summariesdir返回服务器 WAL 摘要目录(pg_wal/summaries)中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's WAL summaries directory (pg_wal/…函数 · 系统管理函数
pg_ls_tmpdir返回针对指定tablespace的临时文件目录中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the temporary file directory for the specified tablesp…函数 · 系统管理函数
pg_ls_waldir返回服务器的预写式日志(WAL)目录中每个普通文件的名称、大小和最后修改时间(mtime)。
Returns the name, size, and last modification time (mtime) of each ordinary file in the server's write-ahead log (WAL) directory.
pg_ls_waldir …函数 · 系统管理函数
pg_mcv_list_itemspg_mcv_list_items返回一组记录,描述存储在多列MCV列表中的所有项目。
pg_mcv_list_items returns a set of records describing all items stored in a multi-column MCV list.
pg_mcv_list_items ( pg_mcv_list ) → setof recor…函数 · 统计信息函数
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).
pg_my_temp_schema…函数 · 系统信息函数和操作符
pg_notification_queue_usage返回待处理通知当前占用的空间占异步通知队列最大容量的比例(0–1)。
Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be process…函数 · 系统信息函数和操作符
pg_numa_available如果服务器在编译时启用了 NUMA 支持,则返回真。
Returns true if the server has been compiled with NUMA support.
pg_numa_available () → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_opclass_is_visible操作符类在搜索路径中可见吗?
Is operator class visible in search path?
pg_opclass_is_visible ( opclass oid ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_operator_is_visible操作符在搜索路径中可见吗?
Is operator visible in search path?
pg_operator_is_visible ( operator oid ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_opfamily_is_visible操作符族在搜索路径中可见吗?
Is operator family visible in search path?
pg_opfamily_is_visible ( opclass oid ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_options_to_table返回源自pg_class.reloptions 或 pg_attribute.attoptions的值表示的存储选项集。
Returns the set of storage options represented by a value from pg_class.reloptions or pg_attribute.attoptions.
pg_options_to_tabl…函数 · 系统信息函数和操作符
pg_partition_ancestors列出给定分区的祖先关系,包括关系本身。
Lists the ancestor relations of the given partition, including the relation itself.
pg_partition_ancestors ( regclass ) → setof regclass
系统管理函数函数 · 系统管理函数
pg_partition_root返回给定关系所属的分区树的最顶级父节点。
Returns the top-most parent of the partition tree to which the given relation belongs.
pg_partition_root ( regclass ) → regclass
系统管理函数函数 · 系统管理函数
pg_partition_tree列出给定分区表或分区索引的分区树中的表或索引,每行对应一个分区。
Lists the tables or indexes in the partition tree of the given partitioned table or partitioned index, with one row for each partition.
pg_partition_tree ( r…函数 · 系统管理函数
pg_postmaster_start_time返回服务器启动时的时间。
Returns the time when the server started.
pg_postmaster_start_time () → timestamp with time zone
系统信息函数和操作符函数 · 系统信息函数和操作符
pg_promote将备库提升为主库状态。
Promotes a standby server to primary status.
pg_promote ( wait boolean DEFAULT true, wait_seconds integer DEFAULT 60 ) → boolean
系统管理函数函数 · 系统管理函数
pg_read_binary_file返回文件的全部或部分。
Returns all or part of a file.
pg_read_binary_file ( filename text [, offset bigint, length bigint] [, missing_ok boolean] ) → bytea
系统管理函数函数 · 系统管理函数
pg_read_file返回一个文本文件的全部或部分,从给定的字节offset开始,最多返回length字节(如果先到达文件末尾,则返回更少)。
Returns all or part of a text file, starting at the given byte offset, returning at most length bytes (less if the end of file is…函数 · 系统管理函数
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开