We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可以看一下 sqlrelay,它具有路由和过滤查询的能力。
http://sqlrelay.sourceforge.net/sqlrelay/router.html
如果你想重写我认为 sqlrelay 不足的查询。
否则,您可能会研究 PostgreSQL 的规则,这些规则可用于替换或重写查询:
http ://www.postgresql.org/docs/8.4/interactive/rules.html
You might take a look at sqlrelay which has the ability to route and filter queries.
http://sqlrelay.sourceforge.net/sqlrelay/router.html
If you want to rewrite the queries I think sqlrelay falls short.
You might otherwise look into PostgreSQL's rules, which can be used to substitute or rewrite queries:
http://www.postgresql.org/docs/8.4/interactive/rules.html
您可以参考以下postgresql-aync驱动程序项目。
https://github.com/mauricio/postgresql-async
You can refer to the following postgresql-aync driver project.
https://github.com/mauricio/postgresql-async