Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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?

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group