pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Pascal Viandier <pascal@accovia.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: RE : Cannot update or delete rows
Date: Fri, 11 Aug 2006 15:30:22 +0900
Message-ID: <44DC23FE.2060801@tpf.co.jp> (raw)
In-Reply-To: <006901c6b710$bd6a0700$270210ac@windows.accovia.com>
References: <006901c6b710$bd6a0700$270210ac@windows.accovia.com>

Pascal Viandier wrote:
> Hi Luf,
> 
>> -----Message d'origine-----
>> De : pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org]
>> De la part de Ludek Finstrle
>> Envoyé : July 31, 2006 00:05
>> À : Pascal Viandier
>> Cc : pgsql-odbc@postgresql.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



view thread (2+ messages)

Message-ID: <44DC23FE.2060801@tpf.co.jp>
Permalink:  ../44DC23FE.2060801@tpf.co.jp/
Also on:    postgresql.org/message-id/44DC23FE.2060801@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, pascal@accovia.com
  Subject: Re: Cannot update or delete rows
  In-Reply-To: <44DC23FE.2060801@tpf.co.jp>
  References: <006901c6b710$bd6a0700$270210ac@windows.accovia.com> <44DC23FE.2060801@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox