pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eltgroth <peter@accutelligence.com>
To: pgsql-odbc@postgresql.org
Subject: PGAPI_SetPos
Date: Fri, 14 Nov 2003 12:19:49 -0600
Message-ID: <1068833989.3fb51cc575321@accutelligence.com> (raw)

Hello,

We are attempting to use an ETL tool (Monarch Data Pump) to move data from
various sources into PostgreSQL; however, we are recieving the following error
message when we attempt to Load the data:
 
[1500][SQLSetPos][1500]PGAPI_SetPos fOption=4 irow=1 lock=0 currt=0
[1500]STATEMENT ERROR: func=PGAPI_SetPos, desc='', errnum=10, errmsg='Only
SQL_POSITION/REFRESH is supported for PGAPI_SetPos'
[1500]CONN ERROR: func=PGAPI_SetPos, desc='', errnum=0, errmsg='(NULL)'
[1500][[SQLGetDiagRec]]

We tried several recent ODBC drivers (versions 7.03.02.03, 7.03.02, and
7.03.01), and made sure to check "Updateable Cursors".  

I have also reviewed the posts at
http://archives.postgresql.org/pgsql-odbc/2003-07/msg00006.php and
http://archives.postgresql.org/pgsql-odbc/2003-04/msg00015.php and downloaded
the source code. Unfortunately, I have not programmed C for about
10 years.  Are we missing something obvious?

Thanks,

Peter Eltgroth




view thread (2+ messages)  latest in thread

Message-ID: <1068833989.3fb51cc575321@accutelligence.com>
Permalink:  ../1068833989.3fb51cc575321@accutelligence.com/
Also on:    postgresql.org/message-id/1068833989.3fb51cc575321@accutelligence.com

 · 

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: peter@accutelligence.com
  Subject: Re: PGAPI_SetPos
  In-Reply-To: <1068833989.3fb51cc575321@accutelligence.com>
  References: <1068833989.3fb51cc575321@accutelligence.com>

* 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