From: Hartmut Raschick <hartmut.raschick@ke-elektronik.de>
To: postgresql.org <pgsql-odbc@postgresql.org>
Subject: unnecessary auto-transaction-rollback from driver - part 2 of 2
Date: Fri, 29 Aug 2003 08:50:38 +0200
Message-ID: <3F4EF7BE.198B178D@ke-elektronik.de> (raw)
PLEASE MIND part 1 (another mail)
driver: psqlodbc-07.03.0100
postgres: 7.3.2
error messages: n/a
mylog: mylog_raschick10724.log
commlog(psqlodbc_????.log): psqlodbc_raschick10724.log
ODBC trace log (sql.log): n/a
when issuing (w/i a transaction) a faulty request (in this case: attempt to
set a column that does not exist) the driver will auto-rollback (see logs).
however, as the program has started the transaction, it will try to rollback
itself. this will fail. (you see this twice in the logs - dont worry, one is
destructor clean-up...)
IMHO, the driver should not do a rollback here.
while inspecting the sources, i found that it actually knows about being in
a trx (succesful "BEGIN" command), why it would not use this info, i dont
know...
P.S.:
--
Hartmut "Hardy" Raschick / Dept. t2
ke Kommunikations-Elektronik GmbH
Wohlenberstr. 3, 30179 Hannover
Phone: ++49 (0)511 6747-564
Fax: ++49 (0)511 6747-340
e-Mail: hartmut.raschick@ke-elektronik.de
http://www.ke-elektronik.deAttachments:
psqlodbc-07.03.0100-auto-rollback-part2of2.tar.gz (application/x-gzip, 3.5K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: hartmut.raschick@ke-elektronik.de
Subject: Re: unnecessary auto-transaction-rollback from driver - part 2 of 2
In-Reply-To: <3F4EF7BE.198B178D@ke-elektronik.de>
References: <3F4EF7BE.198B178D@ke-elektronik.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox