[Zope-DB] Psycopg, Zope & Autocommit
Dieter Maurer
dieter@handshake.de
Sun, 10 Nov 2002 23:40:18 +0100
Charlie Clark writes:
> ...
> I've just switched to
> PostgreSQL using psycopg and I didn't have to change anything in windows.
> Having just installed my application on a Linux server I find that none of
> the methods are really being called unless I add "commit;" at the end of
> the method.
Must be something strange:
I use PostgreSQL with "ZpsycopgDA/psycopg" on Linux and the
Z SQL Methods work without a trailing "commit".
Unless there are exceptions, they should be autocommited
by Zope's transaction machinery.
They do for me.
Dieter