On ven, 2006-06-09 at 09:47 +0200, Marco Bizzarri wrote:
> I don't have a simple example at hand, so hopefully someone will be able
> to test and contribute (otherwise you will have to wait until I can
> provide some test ;-))
>
> It looks like if you put two queries in the same ZSQLMethod using
> psycopg2/ZPsycopgDA, you end up with a segmentation fault.
This is strange because an execute with multiple INSERTs works perfectly
well in psycopg 2 and I don't see how can ZPsycopgDA code (that is plain
Python) segfault. Do you separate the queries by \0 or by ;?
federico
--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer
fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx
INIT.D Developer
fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx
Beh un bacio, se ben dato, non si rifiuta. -- <laura>
signature.asc
Description: This is a digitally signed message part
_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
|