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 996D411F65FB for ; Wed, 29 Mar 2006 11:37:54 -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 45305-05 for ; Wed, 29 Mar 2006 11:37:54 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 9AA5B11F65ED for ; Wed, 29 Mar 2006 11:37:51 -0400 (AST) Received: from dns1.neonex.com.br (unknown [200.206.25.7]) by svr4.postgresql.org (Postfix) with ESMTP id C1C0C5AF047 for ; Wed, 29 Mar 2006 15:37:52 +0000 (GMT) Received: from [127.0.0.1] (planit [200.206.25.4]) (authenticated bits=0) by dns1.neonex.com.br (8.12.11/8.12.11) with ESMTP id k2TFcD5I027204 for ; Wed, 29 Mar 2006 12:38:15 -0300 Message-ID: <442AA9CB.3020906@planit.com.br> Date: Wed, 29 Mar 2006 12:37:47 -0300 From: "Luiz K. Matsumura" User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Odbc bug ? Content-Type: multipart/alternative; boundary="------------070109080204000706080504" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.097 required=5 tests=[AWL=0.096, HTML_MESSAGE=0.001] X-Spam-Score: 0.097 X-Spam-Level: X-Archive-Number: 200603/216 X-Sequence-Number: 7502 This is a multi-part message in MIME format. --------------070109080204000706080504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi, I dont know if this is about the same thing, but the SQL below returns different data types in psqlOdbc 8.00.01.02 and 8.01.02.00 SELECT 'TX' AS tpitem; psqlOdbc 8.00.01.02 return a varchar(254) field and psqlOdbc 8.01.02.00 return a 'Memo' field in both cases Max VarChar is set to 254 I´m using Visual FoxPro ( same behavior in VFP 7.0 and VFP8.0 ) This can be considered a bug ? Thanks in Advance Luiz Ludek Finstrle wrote: >> In BusinessObjects XI Business View Manager, any varchar() field >> larger than varchar(254) shows up as a "Persistent Memo" type. Is this >> because the ODBC driver is doing something funny when it sends over >> metadata, or is this a BOXI issue? >> > > The ODBC driver the best what it can. But yes the problem is on PgSQL and > psqlODBC driver side. When ODBC driver ask for result types PgSQL backend > answer text type. This is the real "problem". > > You are able to change quite the behaviour with setting Max Varchar (size). > > Regards, > > Luf > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > > --------------070109080204000706080504 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

Hi,
I dont know if this is about the same thing, but the SQL below returns different data types in
psqlOdbc 8.00.01.02 and 8.01.02.00

SELECT 'TX' AS tpitem;

psqlOdbc 8.00.01.02 return a varchar(254) field
and psqlOdbc 8.01.02.00 return a 'Memo' field
in both cases Max VarChar is set to 254

I´m using Visual FoxPro ( same behavior in VFP 7.0 and VFP8.0 )

This can be considered a bug ?

Thanks in Advance

Luiz


Ludek Finstrle wrote:
In BusinessObjects XI Business View Manager, any varchar() field
larger than varchar(254) shows up as a "Persistent Memo" type.  Is this
because the ODBC driver is doing something funny when it sends over
metadata, or is this a BOXI issue?
    

The ODBC driver the best what it can. But yes the problem is on PgSQL and
psqlODBC driver side. When ODBC driver ask for result types PgSQL backend
answer text type. This is the real "problem".

You are able to change quite the behaviour with setting Max Varchar (size).

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly


  
--------------070109080204000706080504--