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

NEW ODBC DRIVER v06-40-0004 supports Bookmarks!

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: "pgsql-interfaces(at)hub(dot)org" <pgsql-interfaces(at)hub(dot)org>
Cc: "pgsql-announce(at)postgreSQL(dot)org" <pgsql-announce(at)postgreSQL(dot)org>
Subject: NEW ODBC DRIVER v06-40-0004 supports Bookmarks!
Date: 1999-01-08 19:36:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

There is a new odbc driver at our website

This version fully supports bookmarks!   It is not all that big of a
deal, because the bookmark I am using is just a row number for now, so
SQLExtendedFetch(SQL_FETCH_ABSOLUTE) would be equivalent.  But it is
great for applications that already depend upon bookmark functionality
or would like to be future compatible if the driver ever uses more
sophisticated cursor methods, where the bookmark might map to a key.

Bookmarks can be retrieved through any of the following methods:
SQLGetData on column 0 with SQL_C_BOOKMARK type
SQLBindCol on column 0 with SQL_C_BOOKMARK type along with
SQLExtendedFetch (not SQLFetch)

A rowset can then be positioned using SQLExtendedFetch with the
SQL_FETCH_BOOKMARK option by passing the bookmark as the irow
argument.   Rowsets larger than 1 are supported with bookmarks as well
as with row-wise or column-wise binding.   SQLSetPos can also be used to
position to a row within a rowset to retrieve a bookmark with SQLGetData

To use bookmarks, they must be first enabled with the Statement Option

*** Important note -- Currently, bookmarks can only be positioned to
when NOT using the Declare/Fetch option.  Another way of saying this is
when using Declare/Fetch, SQL_FETCH_NEXT is the only allowed option to
SQLExtendedFetch.   :-)

If anyone has any comments or questions, feedback is appreciated.


pgsql-interfaces by date

Next:From: Peter T MountDate: 1999-01-08 21:36:43
Subject: Re: [INTERFACES] Kaffe 1.0b3 Solved yet?
Previous:From: JP RosevearDate: 1999-01-08 16:43:31
Subject: Kaffe 1.0b3 Solved yet?

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