X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C458A9DCAC4 for ; Tue, 10 Jan 2006 10:29:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10995-02-10 for ; Tue, 10 Jan 2006 10:29:54 -0400 (AST) X-Greylist: delayed 00:06:39.31093 by SQLgrey- Received: from mailer3.internext.com.br (unknown [200.241.116.2]) by postgresql.org (Postfix) with SMTP id B6F719DCC26 for ; Tue, 10 Jan 2006 09:09:09 -0400 (AST) Received: (qmail 84172 invoked by uid 1127); 10 Jan 2006 13:02:31 -0000 Received: from milton.siqueira@mapcardoso.com.br by mailer3.internext.com.br by uid 1002 with qmail-scanner-1.22 (uvscan: v4.2.40/v4367. spamassassin: 2.50. Clear:RC:1(200.208.241.186):. Processed in 4.712548 secs); 10 Jan 2006 13:02:31 -0000 Received: from b04ip186.internext.com.br (HELO map0502) (200.208.241.186) by mailer3.internext.com.br with SMTP; 10 Jan 2006 13:02:26 -0000 Message-ID: <001c01c615e6$0f4ca360$24000aaa@mapcardoso.com.br> From: "Milton" To: "pgsql-odbc" Subject: =?iso-8859-1?Q?I_can=B4t_read_the_data_in_the_second_time?= Date: Tue, 10 Jan 2006 09:02:03 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C615C4.85EBBC30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200601/87 X-Sequence-Number: 6902 This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C615C4.85EBBC30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable There are cases than i can=B4t read the data one more time. See the VB example below: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D dim rdoQuery as rdoResultset dim strValue as string set rdoQuery =3D connection.OpenResultset("SELECT '1' || '2' AS test", = rdOpenKeyset, rdConcurReadOnly) strValue =3D rdoQuery(0) ' Value is '12' strValue =3D rdoQuery(0) ' ERROR HERE: Invalid user of Null =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D The similar example work in the others DB (ORACLE, SQL SERVER, INFORMIX) Is it a bug in the pgsql-odbc? P.S. : I have a program to test it, if someone would like to use this, = notify me, ok!!? ------=_NextPart_000_0019_01C615C4.85EBBC30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
There are cases than i can=B4t read the = data one more=20 time.
See the VB example below:
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
dim rdoQuery as = rdoResultset
dim strValue as string
 
set rdoQuery =3D = connection.OpenResultset("SELECT '1'=20 || '2' AS test", rdOpenKeyset, rdConcurReadOnly)
 
strValue =3D rdoQuery(0) ' Value is = '12'
strValue =3D rdoQuery(0) ' ERROR HERE: = Invalid user=20 of Null

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

The=20 similar example work in the others DB (ORACLE, SQL SERVER, = INFORMIX)

 

Is it a=20 bug in the pgsql-odbc?

 

P.S. : I=20 have a program to test it, if someone would like to use this, notify me, = ok!!?

------=_NextPart_000_0019_01C615C4.85EBBC30--