BUG #1612: Problem with PGAPI_SetPos

From: "Marc Soleda" <msoleda2001(at)yahoo(dot)es>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1612: Problem with PGAPI_SetPos
Date: 2005-04-21 13:56:35
Message-ID: 20050421135635.92A83F10B0@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1612
Logged by: Marc Soleda
Email address: msoleda2001(at)yahoo(dot)es
PostgreSQL version: 8.0.1
Operating system: Win XP SP2
Description: Problem with PGAPI_SetPos
Details:

Environment:
WinXP SP2/Visual C++ 6/MFC
PostgreSQL 8.0.1 db
ODBC 8.00.01.01

I'm accessing the Postgres from a VC++ application using the ODBC driver
mentioned.
All works fine (open the db, SELECT, ...) until I try to insert a row using
the CRecordset::Update() class method. This method is intended to insert to
the db all the records previously added in the recordset object.
Postgres returns the exception:
"Only SQL_POSITION/REFRESH is supported for PGAPI_SetPos"

Anybody has encountered with the same problem?

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-04-21 13:57:40 Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps
Previous Message Ingolf Knopf 2005-04-21 12:32:16 BUG #1611: reading a date-field by "ResultSet.getTimestamp()" method analized dayligth flag