{"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","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"],"signature":"pg_current_snapshot () → pg_snapshot","signature_count":1,"slug":"pg-current-snapshot","source_rev":"b7bd9cda","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":"b7bd9cda","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-PG-SNAPSHOT","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-PG-SNAPSHOT","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-current-snapshot","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_current_snapshot","Summary":"返回当前快照，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见第 67.3 节。","BodyHTML":"返回当前\u003cem\u003e快照\u003c/em\u003e，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见\u003ca href=\"/docs/18/subxacts.html\" rel=\"nofollow\"\u003e第 67.3 节\u003c/a\u003e。\u003cpre\u003epg_current_snapshot () → pg_snapshot\u003c/pre\u003e返回当前\u003cem\u003e快照\u003c/em\u003e，即显示哪些事务 ID 正在进行中的数据结构。快照中只包含顶层事务 ID，不显示子事务 ID；详见\u003ca href=\"/docs/18/subxacts.html\" rel=\"nofollow\"\u003e第 67.3 节\u003c/a\u003e。","SourceRevision":"ca936764","ContentHash":"e523fdace143388111e0b5e2c70427a868e637d6b8b8e938241ee6e18bd0ddec","Payload":{"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。","signatures":[{"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。","returns":"pg_snapshot","text":"pg_current_snapshot () → pg_snapshot","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
