Re: SQLSetPos

From: "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp>
To: "'Dave Page'" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: SQLSetPos
Date: 2003-04-03 22:07:41
Message-ID: 005601c2fa2d$72a20bd0$0e283ddb@PbgX
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> -----Original Message-----
> From: Dave Page [mailto:dpage(at)vale-housing(dot)co(dot)uk]
>
> Hi Hiroshi,
>
> I've had a query about support for SQLSetPos(SQL_UPDATE) in psqlODBC.
> Upon examination of the code there seems to be some there to handle
> SQL_UPDATE, however the function exits with an error (Only
> SQL_POSITION/REFRESH is supported for PGAPI_SetPos) before any of that
> code is ever reached.
>
> Do you know if that's an oversight, or is the code that's there not
> ready for use yet?

You can use SQLSetPos(SQL_UPDATE) if you compiled the driver
with DRIVER_CURSOR_IMPLEMENT #defined(the current makefile
s in cvs already #define it) and turn on the *Updatable cursors* DSN
option.

regards,
Hiroshi Inoue

In response to

  • SQLSetPos at 2003-04-03 20:50:48 from Dave Page

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2003-04-04 07:21:52 Re: SQLSetPos
Previous Message Dave Page 2003-04-03 20:50:48 SQLSetPos