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 : RE : Cannot update or delete rows
Date: Sat, 12 Aug 2006 00:22:47 +0900
Message-ID: <44DCA0C7.9000604@tpf.co.jp> (raw)
In-Reply-To: <001201c6bd41$4926c7c0$270210ac@windows.accovia.com>
References: <001201c6bd41$4926c7c0$270210ac@windows.accovia.com>

Pascal Viandier wrote:
> Hi Hiroshi,
>
>   
>> Please try the dll at
>>   http://www.geocities.jp/inocchichichi/psqlodbc/index.html
>> ?
>>     
>
> I am sorry, I work on Sun Sparc Solaris, not Windows.

Oh I see.
Please apply the attached patch.

regards,
Hiroshi Inoue

Attachments:

conv.diff (text/plain, 454B) download *** ../../psqlodbc-libpq/psqlodbc/convert.c Sun Jul 9 23:40:28 2006 --- ./convert.c Fri Aug 11 13:06:25 2006 *************** *** 2381,2386 **** --- 2381,2387 ---- CVT_APPEND_DATA(qb, qp->statement + qp->from_pos + 5, npos - qp->from_pos - 5); } } + npos -= qp->declare_pos; stmt->load_statement = malloc(npos + 1); memcpy(stmt->load_statement, qb->query_statement + qp->declare_pos, npos); stmt->load_statement[npos] = '\0';

Message-ID: <44DCA0C7.9000604@tpf.co.jp>
Permalink:  ../44DCA0C7.9000604@tpf.co.jp/
Also on:    postgresql.org/message-id/44DCA0C7.9000604@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: <44DCA0C7.9000604@tpf.co.jp>
  References: <001201c6bd41$4926c7c0$270210ac@windows.accovia.com> <44DCA0C7.9000604@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