Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction - Mailing list pgsql-odbc

From Eugene Fokin
Subject Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
Date
Msg-id 004b01c5fcbe$0f1b99a0$dd2cc9c3@solvo.ru
Whole thread Raw
In response to Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction  (Ludek Finstrle <luf@pzkagis.cz>)
Responses Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc
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


pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: SQLTables don't stop
Next
From: Ludek Finstrle
Date:
Subject: Re: SQLTables don't stop