BUG #1612: Problem with PGAPI_SetPos - Mailing list pgsql-bugs

From Marc Soleda
Subject BUG #1612: Problem with PGAPI_SetPos
Date
Msg-id 20050421135635.92A83F10B0@svr2.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1612
Logged by:          Marc Soleda
Email address:      msoleda2001@yahoo.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?

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps
Next
From: Tom Lane
Date:
Subject: Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps