X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3AE8E476435 for ; Fri, 11 Apr 2003 13:39:39 -0400 (EDT) Received: from m3-cluster1.vcn.com (m3-cluster1.vcn.com [209.193.72.33]) by postgresql.org (Postfix) with ESMTP id 2644E47660E for ; Fri, 11 Apr 2003 13:36:24 -0400 (EDT) Received: from sweetbeet2k (unverified [209.193.70.230]) by m3-cluster1.vcn.com (Vircom SMTPRS 5.3.232) with ESMTP id ; Fri, 11 Apr 2003 11:36:24 -0600 Message-ID: <009b01c30050$df1d7820$a1d2a8c0@impsu.net> From: "Hollysugar Webmaster" To: "Hiroshi Inoue" Cc: , "Dave Page" References: Subject: Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database Date: Fri, 11 Apr 2003 11:36:23 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0098_01C3001E.941CA530" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-7.7 required=5.0 tests=BAYES_20,HTML_30_40,HTML_FONT_COLOR_BLUE, HTML_FONT_FACE_BAD,HTML_FONT_FACE_ODD,REFERENCES 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/36 X-Sequence-Number: 2838 This is a multi-part message in MIME format. ------=_NextPart_000_0098_01C3001E.941CA530 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MessageWe installed the latest snapshot dll and received the following error [2224][SQLError][2224]**** PGAPI_Error: henv=3D0, hdbc=3D19100592 hstmt=3D0 [2224]**** PGAPI_ConnectError: hdbc=3D19100592 <512> CC_get_error returned nothing. ----- Original Message -----=20 From: Hiroshi Inoue=20 To: SweetBeet.com Webmaster=20 Cc: pgsql-odbc@postgresql.org ; Dave Page=20 Sent: Friday, April 11, 2003 10:56 AM Subject: Re: [ODBC] continuing problems with sqlsetpos & syncing postgres= ql to a mobile database OK please try the latest snapshot dll at http://www.geocities.jp/inocchic= hichi/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 pro= blem 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 n= eeded to utilize an oid column and we were successfully able to use sql_upd= ate and sql_delete. We are still having problems with sql_add. I have paste= d 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=3D1 [3148][SQLSetPos][3148]PGAPI_SetPos fOption=3D4 irow=3D2 lock=3D0 currt= =3D1 [3148]STATEMENT ERROR: func=3DPGAPI_SetPos, desc=3D'', errnum=3D21, err= msg=3D'Row value out of range' [3148]CONN ERROR: func=3DPGAPI_SetPos, desc=3D'', errnum=3D0, errmsg=3D= '(NULL)' [3148][[SQLGetDiagRec]] [3148]PGAPI_GetDiagRec entering rec=3D1[3148]**** PGAPI_StmtError: hstm= t=3D19137600 <2000> [3148]SC_get_error: status =3D 21, msg =3D #Row value out of range# [3148] szSqlState =3D 'S1107',len=3D22, szError=3D'Row valu= e out of range' [3148]PGAPI_GetDiagRec exiting 0 [3148][[SQLGetDiagRec]] [3148]PGAPI_GetDiagRec entering rec=3D2[3148]**** PGAPI_StmtError: hstm= t=3D19137600 <2000> [3148]SC_get_error: status =3D 21, msg =3D #Row value out of range# [3148]PGAPI_GetDiagRec exiting 100 [3148][[SQLGetDiagRec]] [3148]PGAPI_GetDiagRec entering rec=3D1[3148]**** PGAPI_StmtError: hstm= t=3D19137600 <512> [3148]SC_get_error: status =3D 21, msg =3D #Row value out of range# [3148] szSqlState =3D 'S1107',len=3D22, szError=3D'Row valu= e out of range' [3148]PGAPI_GetDiagRec exiting 0 ------=_NextPart_000_0098_01C3001E.941CA530 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
We installed the latest snapshot dll and r= eceived=20 the following error
 
<error code>
[2224][SQLError][2224]**** PGAPI_Error: he= nv=3D0,=20 hdbc=3D19100592 hstmt=3D0
[2224]**** PGAPI_ConnectError: hdbc=3D19100592= =20 <512>
</error code>
 
CC_get_error returned nothing.
----- Original Message -----
Fro= m:=20 Hiroshi Inoue<= /A>=20
Cc: pgsql-odbc@postgresql.org ;= Dave=20 Page
Sent: Friday, April 11, 2003 10:56= =20 AM
Subject: Re: [ODBC] continuing pro= blems=20 with sqlsetpos & syncing postgresql to a mobile database

OK please try the latest snapshot dll at http://www.geoci= ties.jp/inocchichichi/psqlodbc/ .
 
regards,
Hiroshi Inoue
-----Original Message-----
From: SweetBeet.com Webma= ster=20 [mailto:webmaster@agterra.com]

Hiroshi,
 
Thank you very much for replying. We d= id=20 finally determine that the problem with the update was that the oid col= umn=20 was a user defined column. The vendor for our mobile database altered t= heir=20 application so it no longer needed to utilize an oid column and we were= =20 successfully able to use sql_update and sql_delete. We are still having= =20 problems with sql_add. I have pasted a snippet of the code from the psq= lodbc=20 mylog below. Thank you in advance for any help you can offer on=20 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= =20 entering rec=3D1[3148]**** PGAPI_StmtError: hstmt=3D19137600=20 <2000>
[3148]SC_get_error: status =3D 21, msg =3D #Row value o= ut of=20 range#
[3148]         &= nbsp;  =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 o= ut 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 ou= t of=20 range#
[3148]         &= nbsp;  =20 szSqlState =3D 'S1107',len=3D22, szError=3D'Row value out of=20 range'
[3148]PGAPI_GetDiagRec exiting 0
</snippet>
------=_NextPart_000_0098_01C3001E.941CA530--