{"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","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"],"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":"b7bd9cda","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":"b7bd9cda","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":"","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 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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-replication-origin-session-setup","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_replication_origin_session_setup","Summary":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用pg_replication_origin_session_reset来撤销。","BodyHTML":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用\u003ccode\u003epg_replication_origin_session_reset\u003c/code\u003e来撤销。\u003cpre\u003epg_replication_origin_session_setup ( node_name text ) → void\u003c/pre\u003e将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用\u003ccode\u003epg_replication_origin_session_reset\u003c/code\u003e来撤销。","SourceRevision":"ca936764","ContentHash":"f9de51d1df1d58945f0b216b4fcc129cb7300691b09d3906dcb35e5f4be99d90","Payload":{"description_zh":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用pg_replication_origin_session_reset来撤销。","description_zh_html":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用\u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e来撤销。","signatures":[{"description_zh":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用pg_replication_origin_session_reset来撤销。","description_zh_html":"将当前会话标记为从给定的复制源重放，从而允许跟踪重放进度。只能在当前没有选择复制源时使用。使用\u003ccode class=\"function\"\u003epg_replication_origin_session_reset\u003c/code\u003e来撤销。","returns":"void","text":"pg_replication_origin_session_setup ( node_name text ) → 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":"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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
