X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 96F49474E4F for ; Fri, 11 Apr 2003 12:53:07 -0400 (EDT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id C0A77474E42 for ; Fri, 11 Apr 2003 12:53:05 -0400 (EDT) Received: (qmail 5391 invoked from network); 11 Apr 2003 16:53:10 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 11 Apr 2003 16:53:10 -0000 Received: from unknown (HELO mcadnote1) (219.61.40.102) by sd.tpf.co.jp with SMTP; 11 Apr 2003 16:53:10 -0000 From: "Hiroshi Inoue" To: "SweetBeet.com Webmaster" Cc: , "Dave Page" Subject: Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database Date: Sat, 12 Apr 2003 01:56:39 +0900 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0247_01C30096.C1CA9780" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <001901c3003b$f43e4d20$a1d2a8c0@impsu.net> Importance: Normal X-Spam-Status: No, hits=-10.1 required=5.0 tests=BAYES_20,HTML_30_40,HTML_FONT_COLOR_BLUE, HTML_FONT_FACE_BAD,HTML_FONT_FACE_ODD,IN_REP_TO, MSGID_GOOD_EXCHANGE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/34 X-Sequence-Number: 2836 This is a multi-part message in MIME format. ------=_NextPart_000_0247_01C30096.C1CA9780 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit MessageOK please try the latest snapshot dll at http://www.geocities.jp/inocchichichi/psqlodbc/ . regards, Hiroshi Inoue -----Original Message----- From: SweetBeet.com Webmaster [mailto:webmaster@agterra.com] Hiroshi, Thank you very much for replying. We did finally determine that the problem with the update was that the oid column was a user defined column. The vendor for our mobile database altered their application so it no longer needed to utilize an oid column and we were successfully able to use sql_update and sql_delete. We are still having problems with sql_add. I have pasted a snippet of the code from the psqlodbc mylog below. Thank you in advance for any help you can offer on this. Julie [3148]pcrow=1 [3148][SQLSetPos][3148]PGAPI_SetPos fOption=4 irow=2 lock=0 currt=1 [3148]STATEMENT ERROR: func=PGAPI_SetPos, desc='', errnum=21, errmsg='Row value out of range' [3148]CONN ERROR: func=PGAPI_SetPos, desc='', errnum=0, errmsg='(NULL)' [3148][[SQLGetDiagRec]] [3148]PGAPI_GetDiagRec entering rec=1[3148]**** PGAPI_StmtError: hstmt=19137600 <2000> [3148]SC_get_error: status = 21, msg = #Row value out of range# [3148] szSqlState = 'S1107',len=22, szError='Row value out of range' [3148]PGAPI_GetDiagRec exiting 0 [3148][[SQLGetDiagRec]] [3148]PGAPI_GetDiagRec entering rec=2[3148]**** PGAPI_StmtError: hstmt=19137600 <2000> [3148]SC_get_error: status = 21, msg = #Row value out of range# [3148]PGAPI_GetDiagRec exiting 100 [3148][[SQLGetDiagRec]] [3148]PGAPI_GetDiagRec entering rec=1[3148]**** PGAPI_StmtError: hstmt=19137600 <512> [3148]SC_get_error: status = 21, msg = #Row value out of range# [3148] szSqlState = 'S1107',len=22, szError='Row value out of range' [3148]PGAPI_GetDiagRec exiting 0 ------=_NextPart_000_0247_01C30096.C1CA9780 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
OK please try the latest snapshot dll at http://www.geociti= es.jp/inocchichichi/psqlodbc/ .
 
regards,
Hiroshi Inoue
-----Original Message-----
From: SweetBeet.com Webmast= er=20 [mailto:webmaster@agterra.com]

Hiroshi,
 
Thank you very much for replying. We did= finally=20 determine that the problem with the update was that the oid column was a = user=20 defined column. The vendor for our mobile database altered their applicat= ion=20 so it no longer needed to utilize an oid column and we were successfully = able=20 to use sql_update and sql_delete. We are still having problems with sql_a= dd. I=20 have pasted a snippet of the code from the psqlodbc mylog below. Thank yo= u in=20 advance for any help you can offer on this.
 
Julie
 
<snippet>
[3148]pcrow=3D1
[3148][SQLSetPos][3148]PGAPI_SetPos fOption= =3D4 irow=3D2=20 lock=3D0 currt=3D1
[3148]STATEMENT ERROR: func=3DPGAPI_SetPos, desc=3D= '',=20 errnum=3D21, errmsg=3D'Row value out of range'
[3148]CONN ERROR:=20 func=3DPGAPI_SetPos, desc=3D'', errnum=3D0,=20 errmsg=3D'(NULL)'
[3148][[SQLGetDiagRec]]
[3148]PGAPI_GetDiagRec en= tering=20 rec=3D1[3148]**** PGAPI_StmtError: hstmt=3D19137600=20 <2000>
[3148]SC_get_error: status =3D 21, msg =3D #Row value out= of=20 range#
[3148]         &nb= sp;  =20 szSqlState =3D 'S1107',len=3D22, szError=3D'Row value out of=20 range'
[3148]PGAPI_GetDiagRec exiting=20 0
[3148][[SQLGetDiagRec]]
[3148]PGAPI_GetDiagRec entering=20 rec=3D2[3148]**** PGAPI_StmtError: hstmt=3D19137600=20 <2000>
[3148]SC_get_error: status =3D 21, msg =3D #Row value out= of=20 range#
[3148]PGAPI_GetDiagRec exiting=20 100
[3148][[SQLGetDiagRec]]
[3148]PGAPI_GetDiagRec entering=20 rec=3D1[3148]**** PGAPI_StmtError: hstmt=3D19137600=20 <512>
[3148]SC_get_error: status =3D 21, msg =3D #Row value out = of=20 range#
[3148]         &nb= sp;  =20 szSqlState =3D 'S1107',len=3D22, szError=3D'Row value out of=20 range'
[3148]PGAPI_GetDiagRec exiting 0
</snippet>
------=_NextPart_000_0247_01C30096.C1CA9780--