[PyGreSQL] Printing query objects under Windows
Christoph Zwerschke
cito at online.de
Sun Feb 5 19:29:47 EST 2006
I just noticed that the following crashes under Windows (Python 2.4.2,
PostgreSQL 8.1.2, PyGreSQL 3.8):
from pg import DB
db = DB('template1')
print db.query("select 1+1")
I analyzed this and found that there is a crash whenever PyGreSQL is
calling PQprint(), which it does in some situations like the one above.
Under Linux, PQprint() works fine, but under Windows, PQprint() seems to
crash. Can anybody who is running PyGreSQL under Windows affirm this
problem? I get the same problem no matter whether I created the dll with
MinGW or MS Visual C++ Toolkit.
-- Christoph
More information about the PyGreSQL
mailing list