{"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","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"],"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":"b7bd9cda","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":"b7bd9cda","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","slug":"18"},"group":"admin","group_label":"System Administration Functions","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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-replication-origin-xact-setup","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_replication_origin_xact_setup","Summary":"将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用pg_replication_origin_session_setup选择复制源时调用。","BodyHTML":"将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用\u003ccode\u003epg_replication_origin_session_setup\u003c/code\u003e选择复制源时调用。\u003cpre\u003epg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void\u003c/pre\u003e将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用\u003ccode\u003epg_replication_origin_session_setup\u003c/code\u003e选择复制源时调用。","SourceRevision":"ca936764","ContentHash":"cd2079c4b55973b22f8f0db94bf2154716729b0fb760475f7c96d9a2119ed726","Payload":{"description_zh":"将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用pg_replication_origin_session_setup选择复制源时调用。","description_zh_html":"将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用\u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e选择复制源时调用。","signatures":[{"description_zh":"将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用pg_replication_origin_session_setup选择复制源时调用。","description_zh_html":"将当前事务标记为重放在给定LSN和时间戳上提交的事务。只能在使用\u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e选择复制源时调用。","returns":"void","text":"pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
