不同模式 PostgreSQL 的 SymmetricDS 复制配置

发布于 2025-01-17 12:10:09 字数 213 浏览 4 评论 0原文

我想复制其他模式,而不是公共模式。我已经为不同的架构配置了SYM_TRIGGE表,但是它不起作用,因为该特定模式中没有SYM_*表。有什么方法可以配置xxxx.properties文件或只使用此命令

alter user {user name} set search_path to {schema name};

并像公共模式一样配置SYM_*表?

I want to replicate other schemas rather than the public schema. I have configured the sym_trigger table for the different schema but it doesn't work cause there were no sym_* tables in that particular schema. Is there any way to configure the xxxx.properties file or just use this command

alter user {user name} set search_path to {schema name};

and configure the sym_* tables just like public schemas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

九公里浅绿 2025-01-24 12:10:09

Symmetricds表将位于登录时默认模式的模式中。如果要访问不同模式中的非对称表,则需要在Sym_trigger中指定source_schema_name。

The SymmetricDS tables will reside in the schema that is the default schema when you log in. If you want to access non-SymmetricDS tables in different schemas, you need to specify the source_schema_name in sym_trigger.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文