Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction

Поиск
Список
Период
Сортировка
Искать
От
Ludek Finstrle
Тема
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
Дата
Msg-id
20051209022821.GA8563@soptik.pzkagis.cz
Ответ на
Список
Дерево обсуждения
[ psqlodbc-Bugs-1000476 ] DateStyle and Transaction <noreply@pgfoundry.org>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction Ludek Finstrle <luf@pzkagis.cz>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction "Eugene Fokin" <elf@solvo.ru>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction Ludek Finstrle <luf@pzkagis.cz>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction "Eugene Fokin" <elf@solvo.ru>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction Ludek Finstrle <luf@pzkagis.cz>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction "Eugene Fokin" <elf@solvo.ru>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction Ludek Finstrle <luf@pzkagis.cz>
Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction "Eugene Fokin" <elf@solvo.ru>
> In application, I've turned auto_commit mode off.
> 
> P.S. The same thing we'll see if we cancel first select statement.
> After cancellation there will be "ROLLBACK" command which drops
> DateStyle setting too. What I think, driver should issue "COMMIT"
> right after settings in connection procedure. For example,
> call CC_commit() at the end of CC_send_settings() function.

I thinks it's better to commit later in other place
(e.g. commit set client_encoding too).

Patch attached.

Thanks for report and initial hint

Luf
В списке pgsql-odbc по дате отправления
От:
Дата:
От: Ludek Finstrle
Дата:
FAQ