pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: SweetBeet.com Webmaster <webmaster@agterra.com>
Cc: pgsql-odbc@postgresql.org
Cc: Dave Page <dpage@vale-housing.co.uk>
Subject: Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database
Date: Sat, 12 Apr 2003 01:56:39 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <001901c3003b$f43e4d20$a1d2a8c0@impsu.net>

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

  <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>

view thread (7+ messages)  latest in thread

Message-ID: <EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp>
Permalink:  ../EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp/
Also on:    postgresql.org/message-id/EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp

 · 

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: Inoue@tpf.co.jp, webmaster@agterra.com, dpage@vale-housing.co.uk
  Subject: Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database
  In-Reply-To: <EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp>
  References: <001901c3003b$f43e4d20$a1d2a8c0@impsu.net> <EKEJJICOHDIEMGPNIFIJKEIDLDAA.Inoue@tpf.co.jp>

* 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