I'm using relstorage for a long time with very good results. Until know, I
also use database adapters like ZPsycopgDA to connect the same SQL database
and store information in other application tables. I was thinking to
create a Relstorage Database Adapter able to do the work using relstorage
configuration and connections. Some preliminary simple tests seems to
def execute_query(conn, cursor, *args, **kw):
query = kw['query']
query = 'SELECT COUNT(*) FROM kmkey_task'
rows = app._p_jar._storage._with_store(execute_query, query=query)
The question is, can I go on ? Or use same connections than relstorage
could cause problems at ZODB level ?
Thanks in advance
KMKey hacker (http://www.kmkey.com)
Earcon S.L. (http://www.earcon.com)
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org