此条目涉及一个 PostgreSQL 功能,该功能已弃用,并可能在未来的版本中不再支持。
txid_visible_in_snapshot() 是一个已弃用的系统函数,用于确定事务 ID 是否在快照中可见。
txid_visible_in_snapshot() 添加于 PostgreSQL 8.3。
用法
txid_visible_in_snapshot (bigint,txid_snapshot) →boolean
在 PostgreSQL 13 中引入 pg_snapshot 和 xid8 数据类型后,此函数已被弃用,并被 pg_visible_in_snapshot() 取代。
变更历史
- PostgreSQL 8.3
- 添加 (commit 1f92630f)
参考资料
- PostgreSQL 文档: 已弃用的事务 ID 和快照信息函数
