pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: 'Dave Page' <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: SQLSetPos
Date: Fri, 4 Apr 2003 07:07:41 +0900
Message-ID: <005601c2fa2d$72a20bd0$0e283ddb@PbgX> (raw)
In-Reply-To: <03AF4E498C591348A42FC93DEA9661B8259EF8@mail.vale-housing.co.uk>

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.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




view thread (5+ messages)  latest in thread

Message-ID: <005601c2fa2d$72a20bd0$0e283ddb@PbgX>
Permalink:  ../005601c2fa2d$72a20bd0$0e283ddb@PbgX/
Also on:    postgresql.org/message-id/005601c2fa2d$72a20bd0$0e283ddb@PbgX

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, dpage@vale-housing.co.uk
  Subject: Re: SQLSetPos
  In-Reply-To: <005601c2fa2d$72a20bd0$0e283ddb@PbgX>
  References: <03AF4E498C591348A42FC93DEA9661B8259EF8@mail.vale-housing.co.uk> <005601c2fa2d$72a20bd0$0e283ddb@PbgX>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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