{"Entry":{"collection":"func","key":"pg-visible-in-snapshot","name":"pg_visible_in_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":"bda2d3e8e125400461a104750292428bca7eb63591bff66d7dfcf806e84e6fdb","derived_content_hash":"76a5126845905502ca63567dfd8208993d35cac6e11fab9b935af8324fb30a6e","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:970bbbfa9bb8db6ae0fd0ea31588ef267104154c244f7f270f762c84516e1227","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.327362+08:00","last_version":"20","name":"pg_visible_in_snapshot","name_key":"pg_visible_in_snapshot","position":28114,"present_in":["13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"f2ff4480585925b5baff6d5004c12b3ab86685e13eaf13467327f4e989ff47f1","repair":"wiki-repair-20261023"},"signature":"pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean","signature_count":1,"slug":"pg-visible-in-snapshot","source_rev":"wiki-repair-20261023:970bbbfa9bb8db6ae0fd0ea31588ef267104154c244f7f270f762c84516e1227","summary":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-visible-in-snapshot","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-visible-in-snapshot","SourceRevision":"wiki-repair-20261023:970bbbfa9bb8db6ae0fd0ea31588ef267104154c244f7f270f762c84516e1227","Facts":{"description":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","description_html":"Is the given transaction ID \u003cem class=\"firstterm\"\u003evisible\u003c/em\u003e according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"根据此快照，给定的事务 ID 是否可见（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见第 67.3 节。","description_zh_html":"根据此快照，给定的事务 ID 是否\u003cem class=\"firstterm\"\u003e可见\u003c/em\u003e（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见\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":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","description_html":"Is the given transaction ID \u003cem class=\"firstterm\"\u003evisible\u003c/em\u003e according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"根据此快照，给定的事务 ID 是否可见（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见第 67.3 节。","description_zh_html":"根据此快照，给定的事务 ID 是否\u003cem class=\"firstterm\"\u003e可见\u003c/em\u003e（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_visible_in_snapshot\u003c/code\u003e ( \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_snapshot\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean","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-visible-in-snapshot","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_visible_in_snapshot","Summary":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","BodyHTML":"Is the given transaction ID \u003cem\u003evisible\u003c/em\u003e according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see \u003ca href=\"/docs/18/subxacts.html\" rel=\"nofollow\"\u003eSection 67.3\u003c/a\u003e for details.","SourceRevision":"wiki-repair-20261023:970bbbfa9bb8db6ae0fd0ea31588ef267104154c244f7f270f762c84516e1227","ContentHash":"c7b0a6f7ef0116ae7f83019fc02cc3ddd5ca4b9dffd8fc8e0f9d65f3ccb72a1d","Payload":{"description":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","description_html":"Is the given transaction ID \u003cem class=\"firstterm\"\u003evisible\u003c/em\u003e according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","signatures":[{"description":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","description_html":"Is the given transaction ID \u003cem class=\"firstterm\"\u003evisible\u003c/em\u003e according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"根据此快照，给定的事务 ID 是否可见（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见第 67.3 节。","description_zh_html":"根据此快照，给定的事务 ID 是否\u003cem class=\"firstterm\"\u003e可见\u003c/em\u003e（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_visible_in_snapshot\u003c/code\u003e ( \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_snapshot\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean","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":"c717a1a88085e7753718389f2437177c267190456d8e30056e1f833034a02e6f","Text":"pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean","Returns":"boolean","Payload":{"description":"Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.","description_html":"Is the given transaction ID \u003cem class=\"firstterm\"\u003evisible\u003c/em\u003e according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see \u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. Subtransactions\"\u003eSection 67.3\u003c/a\u003e for details.","description_zh":"根据此快照，给定的事务 ID 是否可见（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见第 67.3 节。","description_zh_html":"根据此快照，给定的事务 ID 是否\u003cem class=\"firstterm\"\u003e可见\u003c/em\u003e（即该事务是否在生成快照之前完成）？注意，此函数无法为子事务 ID（subxid）给出正确结果；详见\u003ca href=\"/docs/18/subxacts.html\" title=\"67.3. 子事务\"\u003e第 67.3 节\u003c/a\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_visible_in_snapshot\u003c/code\u003e ( \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_snapshot\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
