On 04/29/2016 03:59 PM, Mike Bonnet wrote:
On 4/28/16 7:56 PM, Mike McLean wrote:
On 04/28/2016 08:09 PM, Mike Bonnet wrote:
Hi! As an exercise, I looked in to what it would take to port Koji from PyGreSQL to psycopg2. Turns out, it didn't take much at all:
https://pagure.io/fork/mikeb/koji/c/676db88a8bd4c729278ef4594c9174be5b554b2f
Now, do we think this is a good idea? I haven't done any performance testing, but in general it seems like pycopg2 is better supported. Thoughts?
seems to be working well here so far
Can you tell if it fixes the backslash-quoting issue we were seeing with PyGreSQL and PostgreSQL 9.4 (standard_conforming_strings = on)?
It appears so, as the postgres I'm running is also 9.4 with standard options and I'm not seeing the issue. However, it looks like the much newer version in PyGreSQL here fixes it as well.
still, I should investigate all that a little deeper