Hello,

I'm trying to upgrade to python2.7.
Installed PyGresql 4.1.1 for python 2.7.
When running "import pg" command I get the following error:

from _pg import *
ImportError: DLL load failed: The operating system cannot run %1.

I'm using Windows XP SP3, and have PostgreSQL 8.4 installed.

Using dependency walker on _pg.pyd revealed that the following seem to be missing from libpq:
PQescapeLiteral
PQescapeIdentifier
Looks like these are only defined in postgresql 9.
Documentation states that PyGresql 4.1.1 is compatible with PostgreSQL 8.3 or higher and I'm using 8.4.

Would appreciate your help,
Sandy
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to