{"Entry":{"collection":"func","key":"pg-replication-origin-xact-setup","name":"pg_replication_origin_xact_setup","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.5"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"b99b8c5ba0d233d414a8d78bd13e8de57d0f87eed11b71d1cc44d4c33180ed2a","derived_content_hash":"4fe9eee598a6d119e769f4244acdf5704d59f6c64aa7c098c3ac2e876e6af9ac","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:dfde6eedd416cc587e5bf9128c25fe9d1b7e2b765cbec27f4c10e4c08b1482fc","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.5","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.646303+08:00","last_version":"20","name":"pg_replication_origin_xact_setup","name_key":"pg_replication_origin_xact_setup","position":29090,"present_in":["9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"c00722ec112fc5bbe219c37f137dd8ab58a9ab33f52452942bf930fd4d3143d6","repair":"wiki-repair-20261023"},"signature":"pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void","signature_count":1,"slug":"pg-replication-origin-xact-setup","source_rev":"wiki-repair-20261023:dfde6eedd416cc587e5bf9128c25fe9d1b7e2b765cbec27f4c10e4c08b1482fc","summary":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-replication-origin-xact-setup","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-replication-origin-xact-setup","SourceRevision":"wiki-repair-20261023:dfde6eedd416cc587e5bf9128c25fe9d1b7e2b765cbec27f4c10e4c08b1482fc","Facts":{"description":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.","description_html":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e.","description_zh":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 pg_replication_origin_session_setup 选择复制源时调用。","description_zh_html":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e 选择复制源时调用。","doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","version":"18.7"},{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"830e894d29fec30b7c350c915fcaed4a63b24d57f2c96150bf25fa07fb43849c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"admin","group_label":"系统管理函数","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.","description_html":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e.","description_zh":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 pg_replication_origin_session_setup 选择复制源时调用。","description_zh_html":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e 选择复制源时调用。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_replication_origin_xact_setup\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eorigin_lsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eorigin_timestamp\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etimestamp with time zone\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-admin.html","sha256":"b4fab9daceb7883fd75b32b6eb5398f2bbbfbbed5c83d1b2bf99cc8d842cdaf7"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-replication-origin-xact-setup","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_replication_origin_xact_setup","Summary":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.","BodyHTML":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using \u003ccode\u003epg_replication_origin_session_setup\u003c/code\u003e.","SourceRevision":"wiki-repair-20261023:dfde6eedd416cc587e5bf9128c25fe9d1b7e2b765cbec27f4c10e4c08b1482fc","ContentHash":"40c0241162b2ca0314349b1f91cabdbc8f214765b79e3ab26f72b3796590dffd","Payload":{"description":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.","description_html":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e.","signatures":[{"description":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.","description_html":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e.","description_zh":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 pg_replication_origin_session_setup 选择复制源时调用。","description_zh_html":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e 选择复制源时调用。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_replication_origin_xact_setup\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eorigin_lsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eorigin_timestamp\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etimestamp with time zone\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"121a7560cdbb33499a0ea7f6ef068f5db984cca66ee6e2bdd5bf687509bf4738","Text":"pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void","Returns":"void","Payload":{"description":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.","description_html":"Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e.","description_zh":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 pg_replication_origin_session_setup 选择复制源时调用。","description_zh_html":"将当前事务标记为重放在给定 LSN 和时间戳上提交的事务。只能在使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e 选择复制源时调用。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_replication_origin_xact_setup\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eorigin_lsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eorigin_timestamp\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etimestamp with time zone\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
