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

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

PostgreSQL 文档检索

PG 18 · 按类别浏览,或输入名称与关键词

分类索引1772
pg_relation_filenode函数与运算符本站词条返回当前分配给指定关系的“文件节点”编号。 Returns the “filenode” number currently assigned to the specified relation. pg_relation_filenode ( relation regclass ) → oid 系统管理函数函数 · 系统管理函数 pg_relation_filepath函数与运算符本站词条返回关系的完整文件路径名称(相对于数据库集簇的数据目录,即PGDATA)。 Returns the entire file path name (relative to the database cluster's data directory, PGDATA) of the relation. pg_relation_filepath ( relation regclass …函数 · 系统管理函数 pg_relation_size函数与运算符本站词条计算指定关系的一个“分支”所使用的磁盘空间。 Computes the disk space used by one “fork” of the specified relation. pg_relation_size ( relation regclass [, fork text] ) → bigint 系统管理函数函数 · 系统管理函数 pg_reload_conf函数与运算符本站词条使PostgreSQL服务器的所有进程重新加载其配置文件。 Causes all processes of the PostgreSQL server to reload their configuration files. pg_reload_conf () → boolean 系统管理函数函数 · 系统管理函数 pg_replication_origin_advance函数与运算符本站词条将给定节点的复制进度设置为给定的位置。 Sets replication progress for the given node to the given location. pg_replication_origin_advance ( node_name text, lsn pg_lsn ) → void 系统管理函数函数 · 系统管理函数 pg_replication_origin_create函数与运算符本站词条用给定的外部名称创建一个复制源,并且返回分配给它的内部 ID。 Creates a replication origin with the given external name, and returns the internal ID assigned to it. pg_replication_origin_create ( node_name text ) → oid 系…函数 · 系统管理函数 pg_replication_origin_drop函数与运算符本站词条删除一个以前创建的复制源,包括任何相关的重放进度。 Deletes a previously-created replication origin, including any associated replay progress. pg_replication_origin_drop ( node_name text ) → void 系统管理函数函数 · 系统管理函数 pg_replication_origin_oid函数与运算符本站词条通过名称查找复制源并返回其内部ID。 Looks up a replication origin by name and returns the internal ID. pg_replication_origin_oid ( node_name text ) → oid 系统管理函数函数 · 系统管理函数 pg_replication_origin_progress函数与运算符本站词条返回给定复制源的重放位置。 Returns the replay location for the given replication origin. pg_replication_origin_progress ( node_name text, flush boolean ) → pg_lsn 系统管理函数函数 · 系统管理函数 pg_replication_origin_session_is_setup函数与运算符本站词条如果在当前会话中选择了复制源则返回真。 Returns true if a replication origin has been selected in the current session. pg_replication_origin_session_is_setup () → boolean 系统管理函数函数 · 系统管理函数 pg_replication_origin_session_progress函数与运算符本站词条返回当前会话中选择的复制源的重放位置。 Returns the replay location for the replication origin selected in the current session. pg_replication_origin_session_progress ( flush boolean ) → pg_lsn 系统管理函数函数 · 系统管理函数 pg_replication_origin_session_reset函数与运算符本站词条取消pg_replication_origin_session_setup()的效果。 Cancels the effects of pg_replication_origin_session_setup(). pg_replication_origin_session_reset () → void 系统管理函数函数 · 系统管理函数 pg_replication_origin_session_setup函数与运算符本站词条将当前会话标记为从给定的复制源重放,从而允许跟踪重放进度。 Marks the current session as replaying from the given origin, allowing replay progress to be tracked. pg_replication_origin_session_setup ( node_name text [, pi…函数 · 系统管理函数 pg_replication_origin_xact_reset函数与运算符本站词条取消pg_replication_origin_xact_setup()的效果。 Cancels the effects of pg_replication_origin_xact_setup(). pg_replication_origin_xact_reset () → void 系统管理函数函数 · 系统管理函数 pg_replication_origin_xact_setup函数与运算符本站词条将当前事务标记为重放在给定LSN和时间戳上提交的事务。 Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. pg_replication_origin_xact_setup ( origin_lsn pg_lsn, …函数 · 系统管理函数 pg_replication_slot_advance函数与运算符本站词条推进名为 slot_name 的复制槽当前已确认的位置。 Advances the current confirmed position of a replication slot named slot_name. pg_replication_slot_advance ( slot_name name, upto_lsn pg_lsn ) → record ( slot_na…函数 · 系统管理函数 pg_restore_attribute_stats函数与运算符本站词条创建或更新列级统计信息。 Creates or updates column-level statistics. pg_restore_attribute_stats ( VARIADIC kwargs "any" ) → boolean 系统管理函数函数 · 系统管理函数 pg_restore_extended_stats函数与运算符本站词条创建或更新统计对象的统计信息。 Creates or updates statistics for statistics objects. pg_restore_extended_stats ( VARIADIC kwargs "any" ) → boolean 系统管理函数函数 · 系统管理函数 pg_restore_relation_stats函数与运算符本站词条更新表级统计信息。 Updates table-level statistics. pg_restore_relation_stats ( VARIADIC kwargs "any" ) → boolean 系统管理函数函数 · 系统管理函数 pg_rotate_logfile函数与运算符本站词条通知日志文件管理器立即切换到一个新的输出文件。 Signals the log-file manager to switch to a new output file immediately. pg_rotate_logfile () → boolean 系统管理函数函数 · 系统管理函数 pg_safe_snapshot_blocking_pids函数与运算符本站词条返回一个数组,包含阻止指定进程 ID 对应的服务器进程获取安全快照的会话进程 ID;如果不存在这样的服务器进程,或该进程未被阻塞,则返回空数组。 Returns an array of the process ID(s) of the sessions that are blocking the server process with the specified process…函数 · 系统信息函数和操作符 pg_settings_get_flags函数与运算符本站词条返回与给定 GUC 关联的标志数组;如果该 GUC 不存在,则返回NULL。 Returns an array of the flags associated with the given GUC, or NULL if it does not exist. pg_settings_get_flags ( guc text ) → text[] 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_size_bytes函数与运算符本站词条将人类可读格式的大小(由pg_size_pretty返回)转换为字节。 Converts a size in human-readable format (as returned by pg_size_pretty) into bytes. pg_size_bytes ( text ) → bigint 系统管理函数函数 · 系统管理函数 pg_size_pretty函数与运算符本站词条将字节大小转换为更易于人类阅读的格式,带有大小单位(字节,kB,MB,GB,TB或PB)。 Converts a size in bytes into a more easily human-readable format with size units (bytes, kB, MB, GB, TB, or PB as appropriate). pg_size_pretty …函数 · 系统管理函数 pg_sleep函数与运算符本站词条pg_sleep使当前会话的进程休眠,直到经过指定的秒数。 pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. pg_sleep ( double precision ) 日期/时间函数和操作符函数 · 日期/时间函数和操作符 pg_sleep_for函数与运算符本站词条pg_sleep使当前会话的进程休眠,直到经过指定的秒数。 pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. pg_sleep_for ( interval ) 日期/时间函数和操作符函数 · 日期/时间函数和操作符 pg_sleep_until函数与运算符本站词条pg_sleep使当前会话的进程休眠,直到经过指定的秒数。 pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. pg_sleep_until ( timestamp with time zone ) 日期/时间函数和操作符函数 · 日期/时间函数和操作符 pg_snapshot_xip函数与运算符本站词条返回快照中包含的正在进行的事务 ID集。 Returns the set of in-progress transaction IDs contained in a snapshot. pg_snapshot_xip ( pg_snapshot ) → setof xid8 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_snapshot_xmax函数与运算符本站词条返回快照的xmax。 Returns the xmax of a snapshot. pg_snapshot_xmax ( pg_snapshot ) → xid8 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_snapshot_xmin函数与运算符本站词条返回快照的xmin。 Returns the xmin of a snapshot. pg_snapshot_xmin ( pg_snapshot ) → xid8 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_split_walfile_name函数与运算符本站词条从 WAL 文件名中提取序列号和时间线 ID。 Extracts the sequence number and timeline ID from a WAL file name. pg_split_walfile_name ( file_name text ) → record ( segment_number numeric, timeline_id bigint ) 系统…函数 · 系统管理函数 pg_start_backup函数与运算符本站词条准备服务器开始在线备份。 Prepares the server to begin an on-line backup. pg_start_backup ( label text [, fast boolean [, exclusive boolean ]] ) → pg_lsn 系统管理函数函数 · 系统管理函数 pg_stat_clear_snapshot函数与运算符PG18pg_stat_clear_snapshot () → void 丢弃当前的统计快照或缓存信息。累积统计系统 › 统计函数 pg_stat_file函数与运算符本站词条返回一个记录,包含文件大小、最后访问时间戳、最后修改时间戳、最后文件状态变更时间戳(仅限 Unix 平台)、文件创建时间戳(仅限 Windows)以及一个指示其是否为目录的标志。 Returns a record containing the file's size, last access time stamp, last modification time stamp, l…函数 · 系统管理函数 pg_stat_get_activity函数与运算符PG18pg_stat_get_activity ( integer ) → setof record 使用指定的进程ID返回有关后端信息的记录,如果指定了NULL,则返回系统中每个活动后端的一条记录。返回的字段是pg_stat_activity视图中字段的子集。累积统计系统 › 统计函数 pg_stat_get_backend_activity函数与运算符PG18pg_stat_get_backend_activity ( integer ) → text 返回此后端最近查询的文本。累积统计系统 › 统计函数 pg_stat_get_backend_activity_start函数与运算符PG18pg_stat_get_backend_activity_start ( integer ) → timestamp with time zone 返回后端最近一次查询开始的时间。累积统计系统 › 统计函数 pg_stat_get_backend_client_addr函数与运算符PG18pg_stat_get_backend_client_addr ( integer ) → inet 返回连接到此后端的客户端的IP地址。累积统计系统 › 统计函数 pg_stat_get_backend_client_port函数与运算符PG18pg_stat_get_backend_client_port ( integer ) → integer 返回客户端用于通信的TCP端口号。累积统计系统 › 统计函数 pg_stat_get_backend_dbid函数与运算符PG18pg_stat_get_backend_dbid ( integer ) → oid 返回此后端连接的数据库的OID。累积统计系统 › 统计函数
更多结果

输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。

pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开