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: (view raw, whole thread or download thread mbox)
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

    WinXP SP2/Visual C++ 6/MFC
    PostgreSQL 8.0.1 db

I'm accessing the Postgres from a VC++ application using the ODBC driver
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-2017 The PostgreSQL Global Development Group