{"Entry":{"collection":"func","key":"pg-replication-origin-session-setup","name":"pg_replication_origin_session_setup","aliases":[],"metadata":{"changed_in":["19"],"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"},{"descriptions_changed":true,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":["pg_replication_origin_session_setup ( node_name text [, pid integer DEFAULT 0] ) → void"],"removed":["pg_replication_origin_session_setup ( node_name text ) → void"]},"status":"changed","to":"19"}],"content_hash":"989752874129670884f253974f80c621947896a107f85fa4cd32fa991e6a55d8","derived_content_hash":"d1b535f3727a5c8494f308c01dbe0ee0e4534b2bc12078e08c5654959d66c066","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:fee149f7514f00cf0a090b7b0785cb9935ee314ef1cc9328245f4f5dfdf0ccb2","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.642049+08:00","last_version":"20","name":"pg_replication_origin_session_setup","name_key":"pg_replication_origin_session_setup","position":29088,"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":"a7dddcae0ec35068b29210e218b21f7e845705c2d33784111ed1f0ce32462303","repair":"wiki-repair-20261023"},"signature":"pg_replication_origin_session_setup ( node_name text [, pid integer DEFAULT 0] ) → void","signature_count":1,"slug":"pg-replication-origin-session-setup","source_rev":"wiki-repair-20261023:fee149f7514f00cf0a090b7b0785cb9935ee314ef1cc9328245f4f5dfdf0ccb2","summary":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-replication-origin-session-setup","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-replication-origin-session-setup","SourceRevision":"wiki-repair-20261023:fee149f7514f00cf0a090b7b0785cb9935ee314ef1cc9328245f4f5dfdf0ccb2","Facts":{"description":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use pg_replication_origin_session_reset to undo.","description_html":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e to undo.","description_zh":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 pg_replication_origin_session_reset 来撤销。","description_zh_html":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\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 session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use pg_replication_origin_session_reset to undo.","description_html":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e to undo.","description_zh":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 pg_replication_origin_session_reset 来撤销。","description_zh_html":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e 来撤销。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003enode_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_replication_origin_session_setup ( node_name text ) → 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-session-setup","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_replication_origin_session_setup","Summary":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use pg_replication_origin_session_reset to undo.","BodyHTML":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use \u003ccode\u003epg_replication_origin_session_reset\u003c/code\u003e to undo.","SourceRevision":"wiki-repair-20261023:fee149f7514f00cf0a090b7b0785cb9935ee314ef1cc9328245f4f5dfdf0ccb2","ContentHash":"13bc6b078abf4d38fb0bfabbcc47330d385fdda878f346d8400d5ac7e7351a69","Payload":{"description":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use pg_replication_origin_session_reset to undo.","description_html":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e to undo.","signatures":[{"description":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use pg_replication_origin_session_reset to undo.","description_html":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e to undo.","description_zh":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 pg_replication_origin_session_reset 来撤销。","description_zh_html":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e 来撤销。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003enode_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_replication_origin_session_setup ( node_name text ) → 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":"ef820508ced5505306f1a55214bafe6cfbd632f04502b77cb459263858767d23","Text":"pg_replication_origin_session_setup ( node_name text ) → void","Returns":"void","Payload":{"description":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use pg_replication_origin_session_reset to undo.","description_html":"Marks the current session as replaying from the given origin, allowing replay progress to be tracked. Can only be used if no origin is currently selected. Use \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e to undo.","description_zh":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 pg_replication_origin_session_reset 来撤销。","description_zh_html":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用 \u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e 来撤销。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_replication_origin_session_setup\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003enode_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_replication_origin_session_setup ( node_name text ) → void","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
