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

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
Date: 2005-12-09 02:28:21
Message-ID: 20051209022821.GA8563@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Attachment Content-Type Size
psqlodbc-autocommit_off.diff text/plain 467 bytes

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Ludek Finstrle 2005-12-09 02:33:16 Re: Where to get the latest source for Linux
Previous Message noreply 2005-12-09 01:29:03 [ psqlodbc-Bugs-1000475 ] SEGFAULT during SQLCancel