Re: transaction commit

Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Sat, 04 Sep 2010 11:34:30 +0200
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============5873810293553096276==
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enigFE0054B98707A69237F70D33"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFE0054B98707A69237F70D33
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 03/09/2010 18:10, Garry Saddington wrote:
> We are using the Psycopg2 DA for zope. Is there a way to force auto
> commit on a transaction or does the use of COMMIT in a ZSQL method have=

> the desired effect?

Not easily. Also, I won't do that. Zope uses its own transaction tied to
"page execution" and trying to do something different is like opening a
can of worms.

federico

--=20
Federico Di Gregorio                                       fog-NGVKUo/i/[email protected]
  L'unica cosa che riesco a produrre con una certa precisione nella mia
   vita sono i dubbi.                                  -- macchinavapore


--------------enigFE0054B98707A69237F70D33
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyCEq0ACgkQvcCgrgZGjeukjwCdFUxSegUke/WuYWgvqY2zSPDb
JUUAn34OjbHle3WMHhJnXYzm2np+aIgQ
=Tp/G
-----END PGP SIGNATURE-----

--------------enigFE0054B98707A69237F70D33--

--===============5873810293553096276==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg

--===============5873810293553096276==--