pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedunnecessary auto-transaction-rollback from driver - part 2 of 2
3+ messages / 2 participants
[nested] [flat]
* unnecessary auto-transaction-rollback from driver - part 2 of 2
@ 2003-08-29 06:50 Hartmut Raschick <hartmut.raschick@ke-elektronik.de>
0 siblings, 0 replies; 3+ messages in thread
From: Hartmut Raschick @ 2003-08-29 06:50 UTC (permalink / raw)
To: pgsql-odbc
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.de
Attachments:
psqlodbc-07.03.0100-auto-rollback-part2of2.tar.gz (application/x-gzip, 3.5K) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* unnecessary auto-transaction-rollback from driver - part 1 of 2
@ 2003-08-29 07:01 Hartmut Raschick <hartmut.raschick@ke-elektronik.de>
0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Raschick @ 2003-08-29 07:01 UTC (permalink / raw)
To: pgsql-odbc
next try, I hope this time the message is not too big for
poor pgsql-odbc@postgres.org....
PLEASE MIND part 2 (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.: You can tune a guitar, but you can't tune a fish.
- Tom Robbins
--
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.de
Attachments:
psqlodbc-07.03.0100-auto-rollback-part1of2.tar.gz (application/x-gzip, 12.4K) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: unnecessary auto-transaction-rollback from driver - part 1 of
@ 2003-09-01 09:50 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Hartmut Raschick <hartmut.raschick@ke-elektronik.de>
0 siblings, 0 replies; 3+ messages in thread
From: Hiroshi Inoue @ 2003-09-01 09:50 UTC (permalink / raw)
To: Hartmut Raschick <hartmut.raschick@ke-elektronik.de>; +Cc: pgsql-odbc
Hartmut Raschick wrote:
>
> next try, I hope this time the message is not too big for
> poor pgsql-odbc@postgres.org....
>
> PLEASE MIND part 2 (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...)
Please don't execute "begin", "commit", "rollback" directly.
For example, please call SQLTransact to commit/rollback the
transaction.
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-09-01 09:50 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 06:50 unnecessary auto-transaction-rollback from driver - part 2 of 2 Hartmut Raschick <hartmut.raschick@ke-elektronik.de>
2003-08-29 07:01 unnecessary auto-transaction-rollback from driver - part 1 of 2 Hartmut Raschick <hartmut.raschick@ke-elektronik.de>
2003-09-01 09:50 ` Re: unnecessary auto-transaction-rollback from driver - part 1 of Hiroshi Inoue <Inoue@tpf.co.jp>
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