Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "SweetBeet(dot)com Webmaster" <webmaster(at)agterra(dot)com>
Cc: <pgsql-odbc(at)postgresql(dot)org>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database
Date: 2003-04-11 16:56:39
Message-ID: EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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(at)agterra(dot)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

<snippet>
[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
</snippet>

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Molly Gibson 2003-04-11 17:31:17 Interpreting log files
Previous Message Hollysugar Webmaster 2003-04-11 16:25:03 Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database