↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 配置参数

sync_replication_slots

使物理备库能够从主库同步逻辑故障切换槽,以便逻辑订阅者在故障切换后能够从新的主库恢复复制。 默认情况下该参数被禁用。该参数只能在 postgresql.conf 文件中或服务器命令行上设置。

英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。

当前阅读 PG 19·选择有来源记录的版本

boot val
off
category
Replication / Standby Servers
context
sighup
doc same as
未知
documented
true
enumvals
未知
extra desc
未知
lang
en
max val
未知
metadata version
19beta4
min val
未知
name
sync_replication_slots
short desc
Enables a physical standby to synchronize logical failover replication slots from the primary server.
source
pg-settings-source-snapshot
unit
未知
vartype
bool

版本定义 PG 19

使物理备库能够从主库同步逻辑故障切换槽,以便逻辑订阅者在故障切换后能够从新的主库恢复复制。

默认情况下该参数被禁用。该参数只能在 postgresql.conf 文件中或服务器命令行上设置。

比较版本

完整来源事实

doc html

<p>
        It enables a physical standby to synchronize logical failover slots
        from the primary server so that logical subscribers can resume
        replication from the new primary server after failover.
       </p><p>
        It is disabled by default. This parameter can only be set in the
        <code class="filename">postgresql.conf</code> file or on the server command line.
       </p>

documentation revision

{"inputs":[{"file":"runtime-config-replication.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"76b3c1615af7dd60d031cefd485568e6336b3d13c366e8a473304bd7ef2fb92d","version":"19rc2"},{"file":"runtime-config-replication.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"935f29b71e863329c3c39caae902de37d5bbf03c2adcf42322225d3cefe71a84","version":"19rc2"}],"release":"19rc2","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 19 · wiki-repair-20261023:38ffaa1d5e46f2fc8f8a02f6bbffa09dc0eb328a8ddabddf014ae25ee43ee96d

正文语言: zh-Hans · wiki-repair-20261023:38ffaa1d5e46f2fc8f8a02f6bbffa09dc0eb328a8ddabddf014ae25ee43ee96d