X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 138AEDB6AA for ; Tue, 15 Nov 2005 11:08:10 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41108-04 for ; Tue, 15 Nov 2005 15:08:12 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 755E2DA361 for ; Tue, 15 Nov 2005 11:08:06 -0400 (AST) Received: from mail.cibal.es (97.Red-80-59-70.staticIP.rima-tde.net [80.59.70.97]) by svr2.postgresql.org (Postfix) with ESMTP id 62B88F116C for ; Tue, 15 Nov 2005 15:08:09 +0000 (GMT) Received: from Miguel ([192.168.200.7]) by cibal.es (mail.cibal.es [192.168.200.2]) (MDaemon.PRO.v8.0.1.R) with ESMTP id md50000051814.msg for ; Tue, 15 Nov 2005 16:09:50 +0100 Message-ID: <003901c5e9f6$5a427aa0$07c8a8c0@Miguel> From: "Miguel Juan" To: "Dave Page" Cc: References: Subject: Re: psqlOdbc Ansi + BDE issues Date: Tue, 15 Nov 2005 16:07:53 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C5E9FE.BBF640D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Processed: mail.cibal.es, Tue, 15 Nov 2005 16:09:50 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.200.7 X-Return-Path: mjuan@cibal.es X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-MDAV-Processed: mail.cibal.es, Tue, 15 Nov 2005 16:09:50 +0100 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: 200511/183 X-Sequence-Number: 6419 This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C5E9FE.BBF640D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, ----- Original Message -----=20 From: Dave Page=20 To: Miguel Juan ; pgsql-odbc@postgresql.org=20 Sent: Tuesday, November 15, 2005 11:08 AM Subject: Re: [ODBC] psqlOdbc Ansi + BDE issues -------------------------------------------------------------------------= --- From: pgsql-odbc-owner@postgresql.org = [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Miguel Juan Sent: 11 November 2005 12:56 To: pgsql-odbc@postgresql.org Subject: [ODBC] psqlOdbc Ansi + BDE issues Hi, I'm testing the Ansi version of the psqlodbc-08.01.0100 and I have = found a few isues. If you open a table with the BDE SQL explorer, now it shows all the = text fields (char, varchar and text), but for the TEXT type it show the = contents as MEMO. This behavior could be changed in prior versions = unchecking the "Text as LongVarChar" option and checking the "Longest" = option in the "Unknown Sizes" section. Now, it can be fixed only changing the "Max LongVarchar" edit to = 254. It looks like the driver it is not using the "longest" option in = the configuration. No - longest doesn't work anymore because there is no sensible way to = figure it out with the libpq driver architecture. It was only ever there = to support pre-6.4 servers that couldn't report the defined column width = (see the config.htm doc for details). That aside, shouldn't TEXT equate to MEMO anyway? Sure yes, but before (version 7.x) TEXT equate to VARCHAR if the longest = size is under 255 characters, and this change the behavior of some = Delphi components, such as TDataGrid, etc. Anyway, it could be solved = easily with a few lines of code. If you open the database schema with the sql explorer it does not = show all the tables, and each table that it shows appears 6 times. It is = easy to reproduce, because it happens with all the system tables. Please try 08.01.0101.=20 Now it shows each system table about four times, and each user table = about three times. Still not showing all the tables in the database. Regards, Dave. Regards, Miguel Juan ------=_NextPart_000_0036_01C5E9FE.BBF640D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
    Hello,
----- Original Message -----
From:=20 Dave=20 Page
To: Miguel Juan ; pgsql-odbc@postgresql.org =
Sent: Tuesday, November 15, = 2005 11:08=20 AM
Subject: Re: [ODBC] psqlOdbc = Ansi + BDE=20 issues

 


From: pgsql-odbc-owner@postgres= ql.org=20 [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Miguel=20 Juan
Sent: 11 November 2005 12:56
To: pgsql-odbc@postgresql.orgSubject:=20 [ODBC] psqlOdbc Ansi + BDE issues

Hi,
 
I'm testing the Ansi version of the = psqlodbc-08.01.0100 and I have found a few isues.
 
If you open a table with the = BDE SQL=20 explorer, now it shows all the text fields (char, varchar and text), = but for the TEXT type it show the contents as MEMO. This = behavior could=20 be changed in prior versions  unchecking the "Text as = LongVarChar" option and checking the "Longest" option in the = "Unknown=20 Sizes" section.
 
Now, it can be fixed only changing = the "Max=20 LongVarchar" edit to 254. It looks like the driver it is not using = the=20 "longest" option in the configuration.
 
No -=20 longest doesn't work anymore because there is no sensible way to = figure it out=20 with the libpq driver architecture. It was only ever there to support = pre-6.4=20 servers that couldn't report the defined column width (see the = config.htm=20 doc for details).
 
That=20 aside, shouldn't TEXT equate to MEMO anyway?
 
Sure yes,=20 but before (version 7.x) TEXT equate to VARCHAR if the longest size = is=20 under 255 characters, and this change the behavior of = some Delphi=20 components, such as TDataGrid, etc. Anyway, it could be solved easily = with a few=20 lines of code.
If you open the database schema = with the sql=20 explorer it does not show all the tables, and each table that it = shows=20 appears 6 times. It is easy to reproduce, because it happens with = all the=20 system tables.
 
Please try=20 08.01.0101.
Now it=20 shows each system table about four times, and each user table about = three times.=20 Still not showing all the tables in the database.
 
 
 
Regards,=20 Dave.
 
Regards,
 
Miguel=20 Juan
 
 
 
------=_NextPart_000_0036_01C5E9FE.BBF640D0--