pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
 [ psqlodbc-Bugs-1000455 ] Autocommit, Cancel and DateStyle
2+ messages / 1 participants
[nested] [flat]

*  [ psqlodbc-Bugs-1000455 ] Autocommit, Cancel and DateStyle
@ 2005-11-30 13:36  noreply@pgfoundry.org
  0 siblings, 0 replies; 2+ messages in thread

From: noreply@pgfoundry.org @ 2005-11-30 13:36 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000455, was opened at 2005-11-29 14:29
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000455&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Autocommit, Cancel and DateStyle

Initial Comment:
In our application we use autocommit mode.
Right after connection is on, driver issuing BEGIN and several SETs.
We're interesting in: SET DateStyle TO 'ISO'.
After that we're issuing several SELECT statements from application, so transaction is still open.
In parallel application thread we're cancelling one of our SELECTs, after that driver issuing ROLLBACK to the open transaction.
So, we've lost drivers DateStyle. Our default database style is European,SQL. From this point current connection continue working with default style. So, driver couldn't deliver timestamp fields value correctly.

----------------------------------------------------------------------

Comment By: Ludek Finstrle (luf)
Date: 2005-11-30 14:36

Message:
Which version of psqlodbc do you use?
Could you post mylog output?

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2005-11-29 15:29

Message:
This description is for 08.00 version.
In 08.01 version "cancel" doesn't work correctly, because it doesn't issuing ROLLBACK after cancel exception at all, so I'm getting open transaction with error state.
Also, I want to say, that for "cancel" operation I'm using "Threading=0" in odbcinst.ini. Otherwise "cancel" will wait until statement finish.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000455&group_id=1000125



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

*  [ psqlodbc-Bugs-1000455 ] Autocommit, Cancel and DateStyle
@ 2005-11-30 13:49  noreply@pgfoundry.org
  0 siblings, 0 replies; 2+ messages in thread

From: noreply@pgfoundry.org @ 2005-11-30 13:49 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000455, was opened at 2005-11-29 13:29
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000455&group_id=1000125

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Autocommit, Cancel and DateStyle

Initial Comment:
In our application we use autocommit mode.
Right after connection is on, driver issuing BEGIN and several SETs.
We're interesting in: SET DateStyle TO 'ISO'.
After that we're issuing several SELECT statements from application, so transaction is still open.
In parallel application thread we're cancelling one of our SELECTs, after that driver issuing ROLLBACK to the open transaction.
So, we've lost drivers DateStyle. Our default database style is European,SQL. From this point current connection continue working with default style. So, driver couldn't deliver timestamp fields value correctly.

----------------------------------------------------------------------

>Comment By: Dave Page  (dpage)
Date: 2005-11-30 13:49

Message:
The 08.00 version of the driver is no longer supported as the architecture has changed significantly. Please report any bugs in the latest 08.01 version with appropriate mylog output and we will try to help.

----------------------------------------------------------------------

Comment By: Ludek Finstrle (luf)
Date: 2005-11-30 13:36

Message:
Which version of psqlodbc do you use?
Could you post mylog output?

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2005-11-29 14:29

Message:
This description is for 08.00 version.
In 08.01 version "cancel" doesn't work correctly, because it doesn't issuing ROLLBACK after cancel exception at all, so I'm getting open transaction with error state.
Also, I want to say, that for "cancel" operation I'm using "Threading=0" in odbcinst.ini. Otherwise "cancel" will wait until statement finish.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000455&group_id=1000125



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-11-30 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-30 13:36  [ psqlodbc-Bugs-1000455 ] Autocommit, Cancel and DateStyle noreply@pgfoundry.org
2005-11-30 13:49  [ psqlodbc-Bugs-1000455 ] Autocommit, Cancel and DateStyle noreply@pgfoundry.org

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox