pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Bug #2 in latest ODBC driver (07.02.0004)
2+ messages / 2 participants
[nested] [flat]

* Bug #2 in latest ODBC driver (07.02.0004)
@ 2002-11-25 21:15  Glen Parker <glenebob@nwlink.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Glen Parker @ 2002-11-25 21:15 UTC (permalink / raw)
  To: 'Hiroshi Inoue' <Inoue@tpf.co.jp>; +Cc: pgsql-odbc

This bug *seems* to be the result of incomplete statement recycling (old
values left behind from previous executions).  This is mostly a guess.
Log is attached.

If a non-select statement is executed (INSERT in this case) followed by
a select, trying to fetch the rows from the select will fail with an
invalid scroll type error.

Compiling the driver without the DRIVER_CURSOR_IMPLEMENT flag eliminates
the errors.  Turning updatable cursors on/off in the driver config has
no apparent affect.

Glen Parker
glenebob@nwlink.com

Attachments:

  ODBC.log (application/octet-stream, 9.5K) download

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

* Re: Bug #2 in latest ODBC driver (07.02.0004)
@ 2002-11-26 09:13  Hiroshi Inoue <Inoue@tpf.co.jp>
  parent: Glen Parker <glenebob@nwlink.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2002-11-26 09:13 UTC (permalink / raw)
  To: Glen Parker <glenebob@nwlink.com>; +Cc: pgsql-odbc

Glen Parker wrote:
> 
> This bug *seems* to be the result of incomplete statement recycling (old
> values left behind from previous executions).  This is mostly a guess.
> Log is attached.
> 
> If a non-select statement is executed (INSERT in this case) followed by
> a select, trying to fetch the rows from the select will fail with an
> invalid scroll type error.
> 
> Compiling the driver without the DRIVER_CURSOR_IMPLEMENT flag eliminates
> the errors.  Turning updatable cursors on/off in the driver config has
> no apparent affect.

I committed a change to cvs though I tested none about it.
Could you try it ? Please nmake clean before rebuilding it. 

regards,
Hiroshi Inoue
	http://w2422.nsk.ne.jp/~inoue/



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


end of thread, other threads:[~2002-11-26 09:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-25 21:15 Bug #2 in latest ODBC driver (07.02.0004) Glen Parker <glenebob@nwlink.com>
2002-11-26 09:13 ` Hiroshi Inoue <Inoue@tpf.co.jp>

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