X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 07D6BD1B580 for ; Fri, 14 Nov 2003 18:20:39 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 39711-04 for ; Fri, 14 Nov 2003 14:20:08 -0400 (AST) Received: from cp5.myhostdns.org (cp5.myhostdns.org [64.5.40.25]) by svr1.postgresql.org (Postfix) with ESMTP id AD55BD1B502 for ; Fri, 14 Nov 2003 14:19:51 -0400 (AST) Received: from cpanel by cp5.myhostdns.org with local (Exim 4.24) id 1AKiXt-0006Em-Gc for pgsql-odbc@postgresql.org; Fri, 14 Nov 2003 12:19:49 -0600 Received: from 199.2.108.180 ([199.2.108.180]) by accutelligence.com (IMP) with HTTP for ; Fri, 14 Nov 2003 12:19:49 -0600 Message-ID: <1068833989.3fb51cc575321@accutelligence.com> Date: Fri, 14 Nov 2003 12:19:49 -0600 From: Peter Eltgroth To: pgsql-odbc@postgresql.org Subject: PGAPI_SetPos MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 199.2.108.180 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp5.myhostdns.org X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [32001 32001] / [47 12] X-AntiAbuse: Sender Address Domain - accutelligence.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/83 X-Sequence-Number: 3485 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