Hi. Currently I have following problem: I am connecting to a postgres database via ZODBCDA, which works well most time. When I create an ``large'' query (insert statement with base64 encoded binary) of about 80kbyte zope will halt on an signal 11. I don't know if this relates to the problems discussed earlier on this list. I traced it down to be a problem in the shared library (sql.so) brought with ZODBCDA. Due to my lack of knowledge on C and the python API I get stuck on this. The last thing i know: the crash happens in SQLExecDirect, callen from db.py in line 201 (+/- 3 lines). Thanks for helping Christian -- Christian Theune - ct@gocept.com gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])
While I think that it would be nice if you could find the reason for you SIG11s, I sugest that you use ZPsycopgDA instead of ZODBCDA to connect to postgres. ZPsycopgDA comes with psycopg, which you can find at http://initd.org/software/psycopg.py On Wed, 2002-01-23 at 14:48, Christian Theune wrote:
Hi.
Currently I have following problem:
I am connecting to a postgres database via ZODBCDA, [...]
-- Ideas don't stay in some minds very long because they don't like solitary confinement.
participants (2)
-
Christian Theune -
Leonardo Rochael Almeida