Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在每个 PostgreSQL 实例上创建了两个发布,但在同一张表上。然后我从每个实例订阅了这些出版物。我没有在两个实例的日志中看到错误,但我可以看到复制工作在一侧,即单向。
逻辑复制是否支持双向?
谢谢
不,您不能使用逻辑复制在两个方向上复制同一个表。这将需要复杂的冲突解决方案,而 PostgreSQL 目前还没有。