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

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

百科 / 数据类型 / 其他内置类型

txid_snapshot

用户级事务 ID 快照(已弃用;参见 pg_snapshot)

当前查看 PostgreSQL 18。

中文定义与说明

用户级事务 ID 快照(已弃用;参见 pg_snapshot)

同版本中文手册节选

本节描述的函数用于获取有关 PostgreSQL 安装的各种信息。

查看完整中文手册与上下文。

PG10–20 核心源码清单。类型转换与操作符类列出源码显式声明的关系;缺少记录不能排除通过其他机制进行转换或使用索引。

定义

用户级事务 ID 快照(已弃用;参见 pg_snapshot)

txid_snapshot
目录名称
pg_catalog.txid_snapshot
类型 OID
2970
类型种类
基础类型
声明长度
变长(varlena)
存储策略
扩展
输入函数
txid_snapshot_in
输出函数
txid_snapshot_out
手册中的声明
txid_snapshot_xip ( txid_snapshot ) → setof bigint 参见 pg_snapshot_xip() 。
手册中的声明
txid_snapshot_xmax ( txid_snapshot ) → bigint 参见 pg_snapshot_xmax() 。
手册中的声明
txid_snapshot_xmin ( txid_snapshot ) → bigint 参见 pg_snapshot_xmin() 。
手册中的声明
txid_visible_in_snapshot ( bigint , txid_snapshot ) → boolean 参见 pg_visible_in_snapshot() 。

系统目录属性

此构建的源码初始化值。字段含义参见 pg_type 。包含头文件默认值;依赖构建的常量保留符号形式,不作为服务器运行时实测。

oid
2970
descr
transaction snapshot
typacl
_null_
typlen
-1
typelem
0
typname
txid_snapshot
typsend
txid_snapshot_send
typtype
b
typalign
d
typarray
0
typbyval
f
typdelim
','
typinput
txid_snapshot_in
typmodin
-
typndims
0
typowner
POSTGRES
typrelid
0
typmodout
-
typoutput
txid_snapshot_out
typtypmod
-1
typanalyze
-
typdefault
_null_
typnotnull
f
typreceive
txid_snapshot_recv
typstorage
x
typbasetype
0
typcategory
U
typcollation
0
typisdefined
t
typnamespace
pg_catalog
typsubscript
-
typdefaultbin
_null_
array_type_oid
2949
typispreferred
f
array_type_name
_txid_snapshot

版本比较

PostgreSQL 17 → 18。属性比较不包含构建标识和说明正文;原始目录字段与源描述保留原文。

这两个样本的系统目录和结构化属性没有变化。

文档与源码

构建
18.6 · https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2
指纹
555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

相关条目

全部数据类型 · 下载此版本 JSON · 最早收录的样本不代表该类型的实际引入版本。