Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

In response to

Responses

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group