通过保存点支持将 Zope 连接到 Postgres - ZPsycopgDA 的替代品
有没有办法在 Zope 连接到 Postgres 时获得保存点支持?
我目前正在使用 ZPsycopgDA,它不支持保存点,并且也很难通过构建进行安装。 切换到 SQLAlchemyDA 之类的东西会让事情变得更容易吗?
背景:我的用户位于 postgres 数据库中,但是当我尝试查看历史记录时,我收到有关保存点的错误。 该问题的解释如下: http://plone.org/products/cmfeditions/issues/46< /a>
Is there a way to get savepoint support in a Zope connection to Postgres?
I'm currently using ZPsycopgDA, which doesn't support savepoints, and is also hard to install with buildout. Would switching to something like SQLAlchemyDA make things easier?
Background: I've got my users in a postgres database, but when I try look at the history, I get errors about savepoints. That problem is explained here: http://plone.org/products/cmfeditions/issues/46
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议在 Plone 论坛中询问: http://plone.org/support
我没有使用太多我自己使用关系数据库,但一般来说,您可以使用 Collective.tin 和其他集成产品,将 SQLAlchemy 连接到 Plone 来获取内容,或者如果您想将所有内容存储在关系数据库中,请查看 RelStorage。
I would recommend asking in the Plone forums: http://plone.org/support
I'm not using much relational databases myself, but in general you can use collective.tin and other integration products that hook up SQLAlchemy to Plone for content, or if you want to store everything in a relational database, look at RelStorage.
事实证明 SQLAlchemyDA 似乎确实支持保存点 - 至少当我切换到它,它确实解决了问题。
It turned out that SQLAlchemyDA does seem to support savepoints - at least when I switched to it, it did fix the issue.