From mjuan@cibal.es Fri Nov 11 16:11:52 2005 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 61CABDB24B for ; Fri, 11 Nov 2005 12:11:52 -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 05349-06 for ; Fri, 11 Nov 2005 16:11:48 +0000 (GMT) X-Greylist: delayed 03:15:36.792275 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 93792DB152 for ; Fri, 11 Nov 2005 12:11:46 -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 3EECCF0F8A for ; Fri, 11 Nov 2005 12:56:15 +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 md50000050768.msg for ; Fri, 11 Nov 2005 13:57:46 +0100 Message-ID: <005801c5e6bf$3f0918f0$07c8a8c0@Miguel> From: "Miguel Juan" To: Subject: psqlOdbc Ansi + BDE issues Date: Fri, 11 Nov 2005 13:55:51 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0055_01C5E6C7.A0B0F840" 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, Fri, 11 Nov 2005 13:57:46 +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, Fri, 11 Nov 2005 13:57:47 +0100 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.026 required=5 tests=[AWL=0.025, HTML_MESSAGE=0.001] X-Spam-Score: 0.026 X-Spam-Level: X-Archive-Number: 200511/140 X-Sequence-Number: 6376 This is a multi-part message in MIME format. ------=_NextPart_000_0055_01C5E6C7.A0B0F840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. 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. Regards, Miguel Juan ------=_NextPart_000_0055_01C5E6C7.A0B0F840 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I'm testing the Ansi version of the=20 psqlodbc-08.01.0100 and I have found a few isues.
 
If you open a table with the = BDE SQL explorer,=20 now it shows all the text fields (char, varchar and text), but for = the TEXT=20 type it show the contents as MEMO. This behavior could be changed in = prior=20 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=20 LongVarchar" edit to 254. It looks like the driver it is not using the = "longest"=20 option in the configuration.
 
If you open the database schema with = the sql=20 explorer it does not show all the tables, and each table that it shows = appears 6=20 times. It is easy to reproduce, because it happens with all the system=20 tables.
 
Regards,
 
Miguel Juan
 
 
------=_NextPart_000_0055_01C5E6C7.A0B0F840-- From dpage@vale-housing.co.uk Tue Nov 15 10:08:58 2005 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 794A5DB7ED for ; Tue, 15 Nov 2005 06:08:58 -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 10280-04 for ; Tue, 15 Nov 2005 10:08:59 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id 377D8DB7EA for ; Tue, 15 Nov 2005 06:08:55 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 4.42) id 1EbxkD-000MFt-0J for pgsql-odbc@postgresql.org; Tue, 15 Nov 2005 10:08:54 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5E9CC.9496FC3F" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Re: psqlOdbc Ansi + BDE issues Date: Tue, 15 Nov 2005 10:08:51 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlOdbc Ansi + BDE issues Thread-Index: AcXpVEiDOJjzPvAwTiOaDyrcTjIQFAAd4ncQ From: "Dave Page" To: "Miguel Juan" , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.146 required=5 tests=[AWL=0.145, HTML_MESSAGE=0.001] X-Spam-Score: 0.146 X-Spam-Level: X-Archive-Number: 200511/161 X-Sequence-Number: 6397 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5E9CC.9496FC3F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 ________________________________ 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 =09 =09 Hi, =20 I'm testing the Ansi version of the psqlodbc-08.01.0100 and I have found a few isues. =20 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. =20 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. =20 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). =20 That aside, shouldn't TEXT equate to MEMO anyway? =20 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. =20 Please try 08.01.0101.=20 =20 Regards, Dave. ------_=_NextPart_001_01C5E9CC.9496FC3F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 


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

Hi,
 
I'm testing the Ansi version of the=20 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),=20 but for the TEXT type it show the contents as MEMO. This behavior = could=20 be changed in prior versions  unchecking the "Text as=20 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 = "longest" option in the configuration.
 
No - longest=20 doesn't work anymore because there is no sensible way to figure it out = with the=20 libpq driver architecture. It was only ever there to support pre-6.4 = servers=20 that couldn't report the defined column width (see the config.htm = doc for=20 details).
 
That aside,=20 shouldn't TEXT equate to MEMO anyway?
 
If you open the database schema with = the sql=20 explorer it does not show all the tables, and each table that it shows = appears=20 6 times. It is easy to reproduce, because it happens with all the = system=20 tables.
 
Please try=20 08.01.0101.
 
Regards,=20 Dave.
------_=_NextPart_001_01C5E9CC.9496FC3F-- From merlin.moncure@rcsonline.com Tue Nov 15 14:13:33 2005 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 53191DB85B for ; Tue, 15 Nov 2005 10:13:33 -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 35263-05 for ; Tue, 15 Nov 2005 14:13:35 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from Herge.rcsinc.local (c-24-11-237-16.hsd1.mi.comcast.net [24.11.237.16]) by svr1.postgresql.org (Postfix) with ESMTP id 0E0E1DB802 for ; Tue, 15 Nov 2005 10:13:27 -0400 (AST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5E9EE.C24363C0" Subject: Re: psqlOdbc Ansi + BDE issues Date: Tue, 15 Nov 2005 09:13:31 -0500 Message-ID: <6EE64EF3AB31D5448D0007DD34EEB3417DD893@Herge.rcsinc.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlOdbc Ansi + BDE issues Thread-Index: AcXpVEiDOJjzPvAwTiOaDyrcTjIQFAAd4ncQAAiiroA= From: "Merlin Moncure" To: "Dave Page" Cc: , "Adam Long" , "Miguel Juan" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.988 required=5 tests=[AWL=-0.000, HTML_MESSAGE=0.001, RCVD_IN_SORBS_DUL=1.988] X-Spam-Score: 1.988 X-Spam-Level: * X-Archive-Number: 200511/162 X-Sequence-Number: 6398 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5E9EE.C24363C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm testing the Ansi version of the psqlodbc-08.01.0100 and I have found a few isues. =20 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. =20 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. =20 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). =20 That aside, shouldn't TEXT equate to MEMO anyway? =20 yes. TMemoField only VCL type capable of handling unlimited length text fields. =20 Just: 1. use TMemo instead of TEdit 2. Find a replacement for TDBGrid (I use TopGrid) 3. =20 =20 =20 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. =20 Please try 08.01.0101.=20 =20 Regards, Dave. ------_=_NextPart_001_01C5E9EE.C24363C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
=

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?

 

yes= .  TMemoField only VCL type = capable of handling unlimited length text fields. 

Just:

  1. use TMemo instead of TEdit
  2. Find a replacement for TDBGrid = (I use TopGrid)
  3.  

 

=

 

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.

 

Regards, Dave.

------_=_NextPart_001_01C5E9EE.C24363C0-- From mjuan@cibal.es Tue Nov 15 15:08:10 2005 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-- From dpage@vale-housing.co.uk Wed Nov 16 08:53:35 2005 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 C2ECED8D7D for ; Wed, 16 Nov 2005 04:53:35 -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 50473-06 for ; Wed, 16 Nov 2005 08:53:36 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by svr1.postgresql.org (Postfix) with ESMTP id C62A4D6D18 for ; Wed, 16 Nov 2005 04:53:32 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-34.mail.demon.net with esmtp (Exim 4.42) id 1EcJ2r-000Ht8-EQ for pgsql-odbc@postgresql.org; Wed, 16 Nov 2005 08:53:33 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5EA8B.395C78FF" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Re: psqlOdbc Ansi + BDE issues Date: Wed, 16 Nov 2005 08:53:32 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlOdbc Ansi + BDE issues Thread-Index: AcXp9mMCWiRCZrI+RfevZ71hBT8HzAAkWjVg From: "Dave Page" To: "Miguel Juan" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.377 required=5 tests=[AWL=0.376, HTML_MESSAGE=0.001] X-Spam-Score: 0.377 X-Spam-Level: X-Archive-Number: 200511/172 X-Sequence-Number: 6408 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5EA8B.395C78FF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 ________________________________ From: Miguel Juan [mailto:mjuan@cibal.es]=20 Sent: 15 November 2005 15:08 To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] psqlOdbc Ansi + BDE issues =09 =09 Hello, That aside, shouldn't TEXT equate to MEMO anyway? =20 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.=20 =20 The driver will report VARCHAR for a TEXT column is TextAsLongVarChar is no set, or LONGVARCHAR if it is. If BDE is ignoring that and deciding the type based on the data size then that sounds even more broken than I thought it was :-( 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. =20 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. =20 Thats very odd. Don't suppose you still have that test code I downloaded from you previously sompelace do you? (I think it was you wasn't it?!?!!). =20 Regards, Dave ------_=_NextPart_001_01C5EA8B.395C78FF Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 


From: Miguel Juan = [mailto:mjuan@cibal.es]=20
Sent: 15 November 2005 15:08
To: Dave = Page
Cc:=20 pgsql-odbc@postgresql.org
Subject: Re: [ODBC] psqlOdbc Ansi = + BDE=20 issues

    = Hello,
That=20 aside, shouldn't TEXT equate to MEMO anyway?
 
Sure=20 yes, but before (version 7.x) TEXT equate to VARCHAR if the = longest size=20 is under 255 characters, and this change the behavior = of some=20 Delphi components, such as TDataGrid, etc. Anyway, it could be solved = easily=20 with a few lines of code. 
 
The driver will report = VARCHAR for=20 a TEXT column is TextAsLongVarChar is no set, or LONGVARCHAR if it is. = If BDE is=20 ignoring that and deciding the type based on the data size then that = sounds even=20 more broken than I thought it was = :-(
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=20 try 08.01.0101.
Now it shows each system table about = four times,=20 and each user table about three times. Still not showing all the = tables in the=20 database.
 
Thats very odd. Don't suppose you still have = that test=20 code I downloaded from you previously sompelace do you? (I think it was = you=20 wasn't it?!?!!).
 
Regards, = Dave
------_=_NextPart_001_01C5EA8B.395C78FF-- From dpage@vale-housing.co.uk Sat Nov 19 21:32:09 2005 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 4AF6ADBC95 for ; Sat, 19 Nov 2005 17:32:09 -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 12224-04 for ; Sat, 19 Nov 2005 21:32:10 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by svr1.postgresql.org (Postfix) with ESMTP id 28073DBCA5 for ; Sat, 19 Nov 2005 17:32:05 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-34.mail.demon.net with esmtp (Exim 4.42) id 1EdaJb-00056E-Dg for pgsql-odbc@postgresql.org; Sat, 19 Nov 2005 21:32:07 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5ED50.B1163151" Subject: Re: psqlOdbc Ansi + BDE issues Date: Sat, 19 Nov 2005 21:32:05 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlOdbc Ansi + BDE issues Thread-Index: AcXsfcftJgWqHN5pT1uViRlOADUTHAA0mp/w From: "Dave Page" To: "Miguel Juan" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.359 required=5 tests=[AWL=0.358, HTML_MESSAGE=0.001] X-Spam-Score: 0.359 X-Spam-Level: X-Archive-Number: 200511/187 X-Sequence-Number: 6423 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5ED50.B1163151 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Miguel =20 Unfortunately the installer you supplied is broken. I get some errors like: =20 Internal error 25001 =20 Then when I try to run SQL Explorer, I get: DbX.DbI was not found or identified. It is needed to explore databases :-( =20 Regards, Dave. =20 ________________________________ From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Miguel Juan Sent: 15 November 2005 15:08 To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] psqlOdbc Ansi + BDE issues =09 =09 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 =09 =09 =20 =09 =09 ________________________________ 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 =09 =09 Hi, =20 I'm testing the Ansi version of the psqlodbc-08.01.0100 and I have found a few isues. =20 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. =20 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. =20 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). =20 That aside, shouldn't TEXT equate to MEMO anyway? =20 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. =20 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. =20 =20 =20 Regards, Dave. =20 Regards, =20 Miguel Juan =20 =20 =20 ------_=_NextPart_001_01C5ED50.B1163151 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Miguel
 
Unfortunately the installer you supplied = is broken. I=20 get some errors like:
 
Internal error 25001
 
Then when I try to run SQL = Explorer, I=20 get:

DbX.DbI was not found or identified.  = It is needed=20 to explore databases

:-(
 
Regards, Dave.
 

From: = pgsql-odbc-owner@postgresql.org=20 [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Miguel=20 Juan
Sent: 15 November 2005 15:08
To: Dave=20 Page
Cc: pgsql-odbc@postgresql.org
Subject: Re: = [ODBC]=20 psqlOdbc Ansi + BDE issues

    = Hello,
----- Original Message -----
From:=20 Dave 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=20 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),=20 but for the TEXT type it show the contents as MEMO. This = behavior=20 could be changed in prior versions  unchecking the = "Text as=20 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=20 out with the libpq driver architecture. It was only ever there to = support=20 pre-6.4 servers that couldn't report the defined column width = (see the=20 config.htm 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=20 Delphi components, such as TDataGrid, etc. Anyway, it could be solved = easily=20 with a few 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=20 try 08.01.0101.
Now it shows each system table about = four times,=20 and each user table about three times. Still not showing all the = tables in the=20 database.
 
 
 
Regards,=20 Dave.
 
Regards,
 
Miguel=20 Juan
 
 
 
= ------_=_NextPart_001_01C5ED50.B1163151-- From mjuan@cibal.es Wed Nov 23 16:08:05 2005 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 E8EF0DB5CC for ; Wed, 23 Nov 2005 12:08:05 -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 24022-09 for ; Wed, 23 Nov 2005 16:08:02 +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 5194DDB9FE for ; Wed, 23 Nov 2005 12:07:57 -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 F0DCBF0B18 for ; Wed, 23 Nov 2005 16:07:55 +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 md50000053923.msg for ; Wed, 23 Nov 2005 17:06:51 +0100 Message-ID: <001001c5f047$e64e90e0$07c8a8c0@Miguel> From: "Miguel Juan" To: "Dave Page" Cc: References: Subject: Re: psqlOdbc Ansi + BDE issues Date: Wed, 23 Nov 2005 17:06:44 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C5F050.47D04A90" 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, Wed, 23 Nov 2005 17:06:51 +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, Wed, 23 Nov 2005 17:06:52 +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/218 X-Sequence-Number: 6454 This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C5F050.47D04A90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have checked (and reinstalled) de psqlODBC driver. The Windows ODBC = Administrator says that I have the "psqlODBC 8.01.01.01" and is using = the file "psqlodbcA.dll" with date 11/11/2005. I have been 'playing' with some ODBC options and I have found that the = problem is produced by the 'Use declare fetch' option. If it is = unchecked the SQL explorer works OK. Otherwise, if it's checked each = table appears a few times, depending on the number of tables in the = database. Regards, Miguel Juan ----- Original Message -----=20 From: Dave Page=20 To: Miguel Juan=20 Sent: Monday, November 21, 2005 9:36 AM Subject: RE: [ODBC] psqlOdbc Ansi + BDE issues -------------------------------------------------------------------------= --- From: Miguel Juan [mailto:mjuan@cibal.es]=20 Sent: 20 November 2005 17:27 To: Dave Page Subject: Re: [ODBC] psqlOdbc Ansi + BDE issues Hello Dave, Sorry, I forgot to include that file in the installation. I am = sending it attached to this mail. Also, I can send you a new = installation, but it will not be available until Tuesday. Thanks - that got it. It also shows all the tables perfectly with no = duplication at all. Are you definately running 08.01.0101? Regards, Dave ------=_NextPart_000_000D_01C5F050.47D04A90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I have checked (and reinstalled) de = psqlODBC=20 driver. The Windows ODBC Administrator says that I have the "psqlODBC=20 8.01.01.01" and is using the file "psqlodbcA.dll" with date=20 11/11/2005.
 
I have been 'playing' with some ODBC = options and I=20 have found that the problem is produced by the 'Use declare fetch' = option.=20 If it is unchecked the SQL explorer works OK. Otherwise, = if it's=20 checked each table appears a few times, depending on the number of = tables in the=20 database.
 
Regards,
 
Miguel Juan
 
 
----- Original Message -----
From:=20 Dave=20 Page
Sent: Monday, November 21, 2005 = 9:36=20 AM
Subject: RE: [ODBC] psqlOdbc = Ansi + BDE=20 issues

 


From: Miguel Juan = [mailto:mjuan@cibal.es]=20
Sent: 20 November 2005 17:27
To: Dave=20 Page
Subject: Re: [ODBC] psqlOdbc Ansi + BDE=20 issues

Hello Dave,
 
Sorry, I forgot to include that = file in the=20 installation. I am sending it attached to this mail. Also, I = can send=20 you a new installation, but it will not be available until = Tuesday.
 
Thanks -=20 that got it. It also shows all the tables perfectly with no = duplication at=20 all. Are you definately running 08.01.0101?
 
Regards,=20 Dave
------=_NextPart_000_000D_01C5F050.47D04A90-- From dpage@vale-housing.co.uk Wed Nov 23 17:05:41 2005 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 2FF61DBA29 for ; Wed, 23 Nov 2005 13:05:41 -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 42050-03 for ; Wed, 23 Nov 2005 17:05:39 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id EF8E2DADAE for ; Wed, 23 Nov 2005 13:05:37 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1EexxM-000JBG-IT for pgsql-odbc@postgresql.org; Wed, 23 Nov 2005 16:58:53 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5F050.1BF74754" Subject: Re: psqlOdbc Ansi + BDE issues Date: Wed, 23 Nov 2005 17:05:29 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlOdbc Ansi + BDE issues Thread-Index: AcXwSA66967VrsWeRx6j6EUeX2ViMQAB+XoA From: "Dave Page" To: "Miguel Juan" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.358 required=5 tests=[AWL=0.357, HTML_MESSAGE=0.001] X-Spam-Score: 0.358 X-Spam-Level: X-Archive-Number: 200511/199 X-Sequence-Number: 6435 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5F050.1BF74754 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 ________________________________ From: Miguel Juan [mailto:mjuan@cibal.es]=20 Sent: 23 November 2005 16:07 To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] psqlOdbc Ansi + BDE issues =09 =09 Hello, =20 I have checked (and reinstalled) de psqlODBC driver. The Windows ODBC Administrator says that I have the "psqlODBC 8.01.01.01" and is using the file "psqlodbcA.dll" with date 11/11/2005. =20 I have been 'playing' with some ODBC options and I have found that the problem is produced by the 'Use declare fetch' option. If it is unchecked the SQL explorer works OK. Otherwise, if it's checked each table appears a few times, depending on the number of tables in the database. =20 Hmm, yes I see. Not sure what's going on, though it certainly looks like the previous declare/fetch problem. Probably the same fix is required someplace else. =20 I've opened a tracker for this as I don't have time to look right now. =20 Regards, Dave. ------_=_NextPart_001_01C5F050.1BF74754 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 


From: Miguel Juan = [mailto:mjuan@cibal.es]=20
Sent: 23 November 2005 16:07
To: Dave = Page
Cc:=20 pgsql-odbc@postgresql.org
Subject: Re: [ODBC] psqlOdbc Ansi = + BDE=20 issues

Hello,
 
I have checked (and reinstalled) de = psqlODBC=20 driver. The Windows ODBC Administrator says that I have the "psqlODBC=20 8.01.01.01" and is using the file "psqlodbcA.dll" with date=20 11/11/2005.
 
I have been 'playing' with some ODBC = options and=20 I have found that the problem is produced by the 'Use declare fetch' = option.=20 If it is unchecked the SQL explorer works OK. Otherwise, = if it's=20 checked each table appears a few times, depending on the number of = tables in=20 the database.
 
Hmm, yes I=20 see. Not sure what's going on, though it certainly looks like the = previous=20 declare/fetch problem. Probably the same fix is required someplace=20 else.
 
I've opened=20 a tracker for this as I don't have time to look right = now.
 
Regards,=20 Dave.
------_=_NextPart_001_01C5F050.1BF74754-- From luf@pzkagis.cz Sun Nov 27 22:01:22 2005 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 F406AD79CF for ; Sun, 27 Nov 2005 18:01:22 -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 35597-06 for ; Sun, 27 Nov 2005 18:01:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by svr1.postgresql.org (Postfix) with ESMTP id ECF06D7065 for ; Sun, 27 Nov 2005 18:01:15 -0400 (AST) Received: (from luf@localhost) by smtp.pzkagis.cz (8.11.6/8.11.6) id jARM19P21831; Sun, 27 Nov 2005 23:01:09 +0100 Date: Sun, 27 Nov 2005 23:01:09 +0100 From: Ludek Finstrle To: Miguel Juan Cc: Dave Page , pgsql-odbc@postgresql.org Subject: Re: psqlOdbc Ansi + BDE issues Message-ID: <20051127220109.GA21801@soptik.pzkagis.cz> References: <001001c5f047$e64e90e0$07c8a8c0@Miguel> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <001001c5f047$e64e90e0$07c8a8c0@Miguel> User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/226 X-Sequence-Number: 6462 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, > the problem is produced by the 'Use declare fetch' option. If it > is unchecked the SQL explorer works OK. Otherwise, if it's checked > each table appears a few times, depending on the number of tables > in the database. Not so exactly. It depend on the number of tables _and_ cache size parametr. The problem is in fetching all rows in PGAPI_Tables but excepting only "cache size" entries in PGAPI_ExtendedFetch. I attach one line patch. Try it and report next problems. Best regards, Luf --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="psqlodbc-tables.diff" diff -c psqlodbc.orig\statement.c psqlodbc\statement.c *** psqlodbc.orig\statement.c Wed Nov 09 16:26:07 2005 --- psqlodbc\statement.c Sun Nov 27 23:45:24 2005 *************** *** 1061,1070 **** mylog("type = %d\n", type); if (self->manual_result) ! { ! if (ci->drivers.use_declarefetch) ! value = QR_get_value_manual(res, (self->currTuple >= ci->drivers.fetch_max) ? (self->currTuple % ci->drivers.fetch_max) : self->currTuple, lf); ! else value = QR_get_value_manual(res, self->currTuple, lf); mylog("manual_result\n"); } --- 1061,1073 ---- mylog("type = %d\n", type); if (self->manual_result) ! { ! ! if ((ci->drivers.use_declarefetch) && (self->currTuple >= QR_get_num_total_tuples(res))) ! value = QR_get_value_manual(res, (self->currTuple >= ci->drivers.fetch_max) ? (self->currTuple % ci->drivers.fetch_max) : self->currTuple, lf); ! ! else ! value = QR_get_value_manual(res, self->currTuple, lf); mylog("manual_result\n"); } --x+6KMIRAuhnl3hBn-- From dpage@vale-housing.co.uk Mon Nov 28 11:03:27 2005 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 9DFA09DCBC2 for ; Mon, 28 Nov 2005 07:03:27 -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 06696-07 for ; Mon, 28 Nov 2005 07:03:28 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-36.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by postgresql.org (Postfix) with ESMTP id 233B89DCBBF for ; Mon, 28 Nov 2005 07:03:25 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-36.mail.demon.net with esmtp (Exim 4.42) id 1Eggn5-0000iG-MP for pgsql-odbc@postgresql.org; Mon, 28 Nov 2005 11:03:26 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: psqlOdbc Ansi + BDE issues Date: Mon, 28 Nov 2005 11:03:23 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] psqlOdbc Ansi + BDE issues Thread-Index: AcXznhbyTcXrZbNXTgSJRy/aBHsikQAbS+/A From: "Dave Page" To: "Ludek Finstrle" , "Miguel Juan" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.384 required=5 tests=[AWL=0.384] X-Spam-Score: 0.384 X-Spam-Level: X-Archive-Number: 200511/228 X-Sequence-Number: 6464 =20 > -----Original Message----- > From: Ludek Finstrle [mailto:luf@pzkagis.cz]=20 > Sent: 27 November 2005 22:01 > To: Miguel Juan > Cc: Dave Page; pgsql-odbc@postgresql.org > Subject: Re: [ODBC] psqlOdbc Ansi + BDE issues >=20 > Hello, >=20 > > the problem is produced by the 'Use declare fetch' option. If it > > is unchecked the SQL explorer works OK. Otherwise, if it's checked > > each table appears a few times, depending on the number of tables > > in the database. >=20 > Not so exactly. It depend on the number of tables _and_ cache size > parametr. The problem is in fetching all rows in PGAPI_Tables > but excepting only "cache size" entries in PGAPI_ExtendedFetch. >=20 > I attach one line patch. Try it and report next problems. Thanks Ludek - works nicely here. Patch applied. Regards, Dave