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  ("Eugene Fokin" <elf@solvo.ru>)
Список pgsql-odbc
> 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1000475 ] SEGFAULT during SQLCancel
Следующее
От: Ludek Finstrle
Дата:
Сообщение: Re: Where to get the latest source for Linux