@neo2551 thanks for reporting this. Was the error occurring with version 0.3.1?
Did you use a URI or some other kind of configuration?
Nope. The error disappeared with 0.3.1-SNAPSHOT.
I simply use the config without URI [documentation is misleading as they ask for path, but actually dbname is required in the store].
I wondered if you could support multiple datahike store in a single database?
Sorry for asking again: which version had the error? 0.3.1? The latest SNAPSHOT is 0.3.2-SNAPSHOT. We changed the configuration quite a lot in the last few releases, that's why I am asking. But you are actually right, the documentation is wrong, I just checked it.
It is actually possible to use multiple backend stores. It is just not already supported, because the configuration has only the ability to hold one backend store. For datahike-server
@konrad.kuehne did already implement it. There you can just start multiple backends with this config: https://github.com/replikativ/datahike-server/blob/admin-endpoints/resources/config.edn.sample
So it should be easily doable within an app that you are writing but we did not yet implement it into datahike
itself afaik.
I resolved the problem by updating the datahike-pg library
the official version is still using 0.1 on the doucmentation
This is still version 0.1.0
Thanks for pointing this out @neo2551. Please feel free to post any issues coming up. :thumbsup:
@neo2551 If you are adventurous I am happy to help you using datahike-jdbc and know what you are thinking. 🙂
haha, let me first see if I can impose datahike with postgreSQL in my team 🙂