pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: alepaes - aldeia digital <alepaes@aldeiadigital.com.br>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Re: " for read only" clause appended for safety when UseDeclareFetch=1 breaks some sql statements with trailing semicolons
Date: Wed, 11 Jun 2008 09:57:08 +0900
Message-ID: <484F22E4.1030507@tpf.co.jp> (raw)
In-Reply-To: <484EBA91.1010108@aldeiadigital.com.br>
References: <OFF0EF4C96.FCE41E17-ON85257405.006B3A3D-85257405.006CE95F@digitalav.com>
	<484E93A7.7000708@aldeiadigital.com.br>
	<484EBA91.1010108@aldeiadigital.com.br>

alepaes - aldeia digital wrote:
> Sorry,
> 
> I mean: "PGODBC 8.03.0200 have the same problem"
> 
> 
> alepaes - aldeia digital wrote:
>> Hi,
>>
>> Postgresql 8.2.3 have the same problem:
>>
>> <192.168.1.10>ERROR:  syntax error at or near "read" at character 487
>> <192.168.1.10>STATEMENT:  declare "SQL_CUR01B5BDE8" cursor for  SELECT 
>> ct12emp04, ct12numlot, ct12numlan, ct12dtlanc, ct12docume, ct12empcc1, 
>> ct12empcc2,   ct12empcc3, ct12emptr1, ct12emptr2, ct12emptr3, 
>> ct12dtdig, ct12tradu1, ct12ccust1,   ct12tradu2, ct12ccust2, 
>> ct12tradu3, ct12ccust3, ct12valor, ct12histo1, ct12histo2,   
>> ct12histo3, ct12histo4, ct12histo5, ct12histo6, ct12renume, 
>> ct12origem  FROM CT12T   WHERE ct12emp04 = '500' AND ct12numlot = 
>> '20080532' AND ct12numlan = '52' FOR UPDATE OF CT12T  for read 
>> only;fetch 100 in "SQL_CUR01B5BDE8"

Could you try the driver testing for 8.3.0201 at
   http://www.geocities.jp/inocchichichi/psqlodbc/index.html
?

regards,
Hiroshi Inoue




view thread (8+ messages)

Message-ID: <484F22E4.1030507@tpf.co.jp>
Permalink:  ../484F22E4.1030507@tpf.co.jp/
Also on:    postgresql.org/message-id/484F22E4.1030507@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, alepaes@aldeiadigital.com.br
  Subject: Re: " for read only" clause appended for safety when UseDeclareFetch=1 breaks some sql statements with trailing semicolons
  In-Reply-To: <484F22E4.1030507@tpf.co.jp>
  References: <OFF0EF4C96.FCE41E17-ON85257405.006B3A3D-85257405.006CE95F@digitalav.com> <484E93A7.7000708@aldeiadigital.com.br> <484EBA91.1010108@aldeiadigital.com.br> <484F22E4.1030507@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