Yes, I've seen printing of PyG objects under Windows to crash and same thing under Unix not to crash. Don't recall the details exactly, but I had this impression that it happened whenever the varchars to be printed out contained single apostrophes or double quotes or something like that.
Sincerely, Dmitry Dvoinikov http://www.targeted.org/ --- Original message follows --- > 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 > _______________________________________________ > PyGreSQL mailing list > [email protected] > http://mailman.vex.net/mailman/listinfo/pygresql _______________________________________________ PyGreSQL mailing list [email protected] http://mailman.vex.net/mailman/listinfo/pygresql
