Re: RE : Cannot update or delete rows

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Pascal Viandier <pascal(at)accovia(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: RE : Cannot update or delete rows
Date: 2006-08-11 06:30:22
Message-ID: 44DC23FE.2060801@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Pascal Viandier wrote:
> Hi Luf,
>
>> -----Message d'origine-----
>> De : pgsql-odbc-owner(at)postgresql(dot)org [mailto:pgsql-odbc-owner(at)postgresql(dot)org]
>> De la part de Ludek Finstrle
>> Envoyé : July 31, 2006 00:05
>> À : Pascal Viandier
>> Cc : pgsql-odbc(at)postgresql(dot)org
>> Objet : Re: [ODBC] Cannot update or delete rows
>>
>>> I use PostgreSQL 8.1.4 and psqlodbc-08.01.0200.
>> I'm sorry but psqlodbc-08.01.XXXX doesn't support such feature
>> (updateable cursor). I know there is no info about it. But 08.01
>> uses libpq for communication with server and there are some
>> breakage in updateable code.
>>
>> Please try latest CVS from pgfoundry.org. It should do what you want.
>>
> I just tried the CVS release (psqlodbc-08.02.0002).
> It is a lot better: SQLSetPos() does not return the previous error for update or
> delete but it still does not work.
> The update returns:
> SQLSTATE: 07005
> NATIVE CODE: 15
> MESSAGE: update list null

Are you updating any columns of the row ?

> The delete returns:
> SQLSTATE: 42601
> NATIVE CODE: 7
> MESSAGE: syntax error at or near "where";

Please try the dll at
http://www.geocities.jp/inocchichichi/psqlodbc/index.html
?

regards,
Hiroshi Inoue

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Renato Gondim 2006-08-11 14:53:22 ODBC 8.02.00.02
Previous Message Hiroshi Saito 2006-08-11 06:19:48 Re: Error during make of psql-odbc