{"Entry":{"collection":"func","key":"pg-current-snapshot","name":"pg_current_snapshot","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"15","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"16"},{"descriptions_changed":true,"doc_overhaul":false,"from":"16","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"17"},{"descriptions_changed":true,"doc_overhaul":false,"from":"17","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"18"}],"content_hash":"c608ec831edd3a71e4c99ce4a11fa1b392675fde0d6cf3cc8ca081b120ac6aee","derived_content_hash":"4131920f4349fa723bbc763f9042daaf591fe38540504f442644192fae50b669","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:8464c5be2fffa3b8a88c9982bd6b82060b1c75a569572b5045c18b1547af35e5","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"13","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.144877+08:00","last_version":"20","name":"pg_current_snapshot","name_key":"pg_current_snapshot","position":28046,"present_in":["13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"206e6e1705d9e5f31df707f1d406e1115add4f22720a8e7ebcc582cde2ef66e4","repair":"wiki-repair-20261023"},"signature":"pg_current_snapshot () → pg_snapshot","signature_count":1,"slug":"pg-current-snapshot","source_rev":"wiki-repair-20261023:8464c5be2fffa3b8a88c9982bd6b82060b1c75a569572b5045c18b1547af35e5","summary":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-current-snapshot","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-current-snapshot","SourceRevision":"wiki-repair-20261023:8464c5be2fffa3b8a88c9982bd6b82060b1c75a569572b5045c18b1547af35e5","Facts":{"description":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.","description_html":"Returns a current \u003cem class=\"firstterm\"\u003esnapshot\u003c/em\u003e, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"返回当前快照，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见第 67.3 节。","description_zh_html":"返回当前\u003cem class=\"firstterm\"\u003e快照\u003c/em\u003e，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","doc":{"anchor":"FUNCTIONS-PG-SNAPSHOT","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","version":"18.7"},{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"f9684137c0b9fb17a691c4d905529d114472a507a007c15058f2703962b611d2","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"info","group_label":"系统信息函数和操作符","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.","description_html":"Returns a current \u003cem class=\"firstterm\"\u003esnapshot\u003c/em\u003e, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"返回当前快照，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见第 67.3 节。","description_zh_html":"返回当前\u003cem class=\"firstterm\"\u003e快照\u003c/em\u003e，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_current_snapshot\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003epg_snapshot\u003c/code\u003e","returns":"pg_snapshot","text":"pg_current_snapshot () → pg_snapshot","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-info.html","sha256":"7c33185e79430cfbda432dc4db277115c7ac846afccadfcf904ceb1bf2aa1ba5"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-PG-SNAPSHOT","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-current-snapshot","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_current_snapshot","Summary":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.","BodyHTML":"Returns a current \u003cem\u003esnapshot\u003c/em\u003e, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see \u003ca href=\"/docs/18/subxacts.html\" rel=\"nofollow\"\u003eSection 67.3\u003c/a\u003e for details.","SourceRevision":"wiki-repair-20261023:8464c5be2fffa3b8a88c9982bd6b82060b1c75a569572b5045c18b1547af35e5","ContentHash":"013004b8276755b63bdfde19906f9ce79cd5085649af87bf080fb8d5ae05cfa7","Payload":{"description":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.","description_html":"Returns a current \u003cem class=\"firstterm\"\u003esnapshot\u003c/em\u003e, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","signatures":[{"description":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.","description_html":"Returns a current \u003cem class=\"firstterm\"\u003esnapshot\u003c/em\u003e, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"返回当前快照，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见第 67.3 节。","description_zh_html":"返回当前\u003cem class=\"firstterm\"\u003e快照\u003c/em\u003e，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_current_snapshot\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003epg_snapshot\u003c/code\u003e","returns":"pg_snapshot","text":"pg_current_snapshot () → pg_snapshot","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"86f33a61ec262695765331b9bd69a1a8dc651d8b8b4f85e555769c0df17fa8c4","Text":"pg_current_snapshot () → pg_snapshot","Returns":"pg_snapshot","Payload":{"description":"Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.","description_html":"Returns a current \u003cem class=\"firstterm\"\u003esnapshot\u003c/em\u003e, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"返回当前快照，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见第 67.3 节。","description_zh_html":"返回当前\u003cem class=\"firstterm\"\u003e快照\u003c/em\u003e，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_current_snapshot\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003epg_snapshot\u003c/code\u003e","returns":"pg_snapshot","text":"pg_current_snapshot () → pg_snapshot","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
