Heroku Postgres 的领域数据连接器:必须是超级用户或复制角色才能使用复制槽
Realm Data Connector with Heroku Postgres: must be superuser or replication role to use replication slots
我正在关注 Realm Postgres Connector 参考,以将我们的 Realm 数据库与我们的 Heroku PostgreSQL 数据库同步:https://docs.realm.io/platform/using-synced-realms/server-side-usage/data-integration/postgres-connector#realm-data-adapter
它在本地运行良好,因为我可以使用 superuser
角色连接到 PG 本地数据库以使用复制槽。但是,无法在 Heroku PostgreSQL 数据库上设置 superuser
或 replication
角色,因此导致以下 PG 错误:
PGRES_FATAL_ERROR: ERROR: must be superuser or replication role to use replication slots
是否有人已经获得了可与 Heroku PG 数据库一起使用的 Realm Postgres 连接器?或者可以想出解决方法?
感谢您的帮助!
卢卡斯
Heroku 支持确认目前无法使用 replication
角色:
Unfortunately, we do not allow creation of new replication slots by customers, as replication users are very privileged in Postgres, almost to the superuser level.
因此我决定迁移到 Amazon RDS。这是一篇关于如何执行此类迁移的好文章:https://www.lewagon.com/fr/blog/how-to-migrate-your-heroku-postgres-database-to-amazon-rds
我正在关注 Realm Postgres Connector 参考,以将我们的 Realm 数据库与我们的 Heroku PostgreSQL 数据库同步:https://docs.realm.io/platform/using-synced-realms/server-side-usage/data-integration/postgres-connector#realm-data-adapter
它在本地运行良好,因为我可以使用 superuser
角色连接到 PG 本地数据库以使用复制槽。但是,无法在 Heroku PostgreSQL 数据库上设置 superuser
或 replication
角色,因此导致以下 PG 错误:
PGRES_FATAL_ERROR: ERROR: must be superuser or replication role to use replication slots
是否有人已经获得了可与 Heroku PG 数据库一起使用的 Realm Postgres 连接器?或者可以想出解决方法?
感谢您的帮助!
卢卡斯
Heroku 支持确认目前无法使用 replication
角色:
Unfortunately, we do not allow creation of new replication slots by customers, as replication users are very privileged in Postgres, almost to the superuser level.
因此我决定迁移到 Amazon RDS。这是一篇关于如何执行此类迁移的好文章:https://www.lewagon.com/fr/blog/how-to-migrate-your-heroku-postgres-database-to-amazon-rds