![](/img/trans.png)
[英]AWS RDS Postgres: WAL_LEVEL not set to 'logical' after changing rds.logical_replication = 1
[英]ERROR: could not create replication slot "my_subscription": ERROR: logical decoding requires wal_level >= logical
我完全按照這里所做的。
一切都很好,直到我使用以下命令將訂閱連接到發布
CREATE SUBSCRIPTION my_subscription CONNECTION 'host=db_master_private_ip_address port=5432 password=my_password user=sammy dbname=example' PUBLICATION my_publication;
它給了我
ERROR: could not create replication slot "my_subscription": ERROR: logical decoding requires wal_level >= logical
還有其他人也遇到過這個問題嗎?
編輯我的wal_level
設置為logical
您必須按照錯誤消息的建議執行操作:
將主服務器上的配置參數wal_level
更改為logical
並重啟PostgreSQL。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.