datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
Ben Sless 2020-05-31T15:01:06.313700Z

Hi all, I'm trying to use datahike 0.3.1-snapshot with postgres backend and keep running into walls, first I couldn't connect even though I provided a password until I changed the pg_hba.conf to trust local connections, now when I (d/create-database uri) I get a This ResultSet is closed. error. Then I needed to create the databse under /path myself, which the documentation doesn't clarify if I should do it or if it's handled by the library. Moreover there's a hole in the documentation for datahike-postgres and the docstring: the function datahike.config/reload-config does not exist 😞 My uri is nothing complicated, just datahike:<pg://user>:password@localhost:5432/path Am I way off base here?

Ben Sless 2020-05-31T15:04:23.314600Z

I'm getting the closed connection exception with postgres in docker and without

Ben Sless 2020-05-31T15:21:41.315100Z

Wanted to do some sanity checking so started from a blank slate project, in which it works. Will investigate further

Ben Sless 2020-05-31T15:24:52.315900Z

I can't explain exactly what happened, but it seems like lein clean fixed everything. Please file it under false alarm