Closed Theelx closed 4 years ago
Thanks for the report. Newtdb is not a project supported by this repository. From what I understand, it’s not even supported by newtdb’s original author (it turned out to be far too slow at write time). I can’t help you other than to say use only and exactly the versions that newtdb was designed with.
Just found the answer, leaving it here in case anyone else comes across this: For the driver, I was using the psycopg2 driver instead of the AbstractPostGreSQLDriver. A few other monkey patches and it worked. Also, thanks for the response jamadden, sorry I didn't close this earlier.
Hi Jason,
FTR, I'm not working on newtdb anymore because I'm not able to use it in my work anymore. Sadly, the same is true of ZODB. whimper.
I don't recall getting write performance complaints. Newtdb has 2 modes for updating the redundant JSON data, synchronous and asynchronous. I would expect the synchronous generation of the JSON data to cause slower writes than Relstorage. I'd expect the asynchronous mode to be just as fast (assuming a suitable process configuration).
So, I've been using newt.db to work with zodb and relstorage's postgresql stuff, and I can't get it to work, I keep getting the error in the title. I had to modify newt's code locally to make it somewhat compatible with relstorage 3.1.0, as it was only working with 2.1.0-2.1.1, so I fixed the problem it was having. However, now this popped up, and it seems to be a problem with RelStorage. There don't seem to be any results on google for what a postgresql dialect is, let alone something being unable to bind. The modified code for newt that I used is forked and listed in my repositories (https://github.com/Theelgirl/db), but it's only compatible with psycopg2 as the driver, so I haven't submitted a PR to the official newt github because people need the option to use multiple drivers, and this issue prevents it from being useful.
What I know:
System/Package Info:
Traceback:
The simplest function I could reproduce this with (newt.db is my fork of newt that should work with Relstorage 3.1.0 instead of 2.1.0):
Edit: PostGreSQL 10 and more under "What I Know"