Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
От | Eugene Fokin |
---|---|
Тема | Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction |
Дата | |
Msg-id | 004b01c5fcbe$0f1b99a0$dd2cc9c3@solvo.ru обсуждение исходный текст |
Ответ на | Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction (Ludek Finstrle <luf@pzkagis.cz>) |
Ответы |
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
|
Список | 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 по дате отправления: