From: Eugene Fokin <elf@solvo.ru>
To: 'Ludek Finstrle' <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
Date: Fri, 9 Dec 2005 15:42:47 +0300
Message-ID: <004b01c5fcbe$0f1b99a0$dd2cc9c3@solvo.ru> (raw)
In-Reply-To: <20051209105551.GB11585@soptik.pzkagis.cz>
I saw in the PostgreSQL log file, either in auto_commit mode on,
psqlodbc generates implicit transaction for each "data change statement"
and implicit transaction for whole bunch of consequent "select
statmenets".
So, it starts transaction at begin and doesn't close it before first
"data change statement". If I'll cancel one of first select, I'll lose
DateStyle.
Regards.
--
Eugene Fokin
SOLVO Ltd.
-----Original Message-----
From: Ludek Finstrle [mailto:luf@pzkagis.cz]
Sent: Friday, December 09, 2005 1:56 PM
To: Eugene Fokin
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
> Probably, you're right about CC_commit() call place, but I think it
> doesn't need to be checked about auto_commit mode. Because, after
> cancellation ROLLBACK will break DateStyle either in auto_commit mode
> on.
It's strenge. There is no begin transaction in autocommit mode on.
I'll try it.
Thanks
Luf
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: elf@solvo.ru, luf@pzkagis.cz
Subject: Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
In-Reply-To: <004b01c5fcbe$0f1b99a0$dd2cc9c3@solvo.ru>
References: <20051209105551.GB11585@soptik.pzkagis.cz> <004b01c5fcbe$0f1b99a0$dd2cc9c3@solvo.ru>
* 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